fix: 统一十四套主题DOCX字体映射

This commit is contained in:
SkyJourney
2026-08-03 12:47:14 +08:00
parent 6a6972ae48
commit 9dee7e8605
23 changed files with 325 additions and 63 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
#write {
color: var(--enterprise-ink);
font-family:
"Noto Serif CJK SC", "Source Han Serif SC",
"FandolSong", "Noto Serif CJK SC", "Source Han Serif SC",
"Microsoft YaHei", "SimSun", serif;
font-size: 18px;
line-height: 1.8;
@@ -33,7 +33,7 @@
margin: 6mm 0;
color: var(--enterprise-red);
font-family:
"STZhongsong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
"FandolSong", "STZhongsong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
font-size: 2em;
font-weight: 700;
letter-spacing: 0.1em;
@@ -65,7 +65,7 @@
margin: 1.4em 0 0.55em;
color: var(--enterprise-red);
font-family:
"Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
"FandolHei", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
font-weight: 700;
line-height: 1.45;
}
+25
View File
@@ -32,5 +32,30 @@
"docxStyle": {
"preset": "official"
},
"docxFonts": {
"faces": [
{
"family": "FandolSong",
"aliases": ["Mdpdf Fandol Song", "STZhongsong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun"],
"source": "theme-shared:official-fonts/FandolSong-Regular.woff2",
"weight": 400,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
},
{
"family": "FandolSong",
"aliases": ["Mdpdf Fandol Song", "STZhongsong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun"],
"source": "theme-shared:official-fonts/FandolSong-Bold.woff2",
"weight": 700,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
},
{
"family": "FandolHei",
"aliases": ["Noto Sans CJK SC", "Source Han Sans SC", "SimHei", "Microsoft YaHei"],
"source": "theme-shared:official-fonts/FandolHei-Regular.woff2",
"weight": 400,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
}
]
},
"bundled": true
}