chore(fonts): 字体二进制不入库,改用脚本生成

- 远程仓库对单次推送体积有限制,6.7 MB 字体无法一次推送,先从版本库移除
- 新增 tools/build-fonts.py:下载官方分包、合并并子集化,一条命令重建
- @font-face 保留,字体缺失时回退系统字体;离线用例改为按可用性断言
This commit is contained in:
2026-10-26 00:46:20 +08:00
parent 942f8de3b7
commit 14fb3563c5
6 changed files with 165 additions and 21 deletions
-7
View File
@@ -7,13 +7,6 @@
name="description"
content="TaskPilot - Windows 本地定时任务管理平台"
/>
<link
rel="preload"
href="/fonts/LXGWWenKai-Regular.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link
rel="preload"
href="/fonts/Outfit-Medium.ttf"