fix: 统一十四套主题DOCX字体映射
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#write {
|
||||
color: var(--regulation-ink);
|
||||
font-family:
|
||||
"FangSong", "STFangsong", "Noto Serif CJK SC",
|
||||
"FandolSong", "FangSong", "STFangsong", "Noto Serif CJK SC",
|
||||
"Source Han Serif SC", "SimSun", serif;
|
||||
font-size: 18px;
|
||||
line-height: 1.8;
|
||||
@@ -18,7 +18,7 @@
|
||||
#write > h1:first-child {
|
||||
margin: 8mm 0 12mm;
|
||||
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: 1.8em;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
@@ -39,12 +39,12 @@
|
||||
|
||||
#write h1 {
|
||||
font-family:
|
||||
"STZhongsong", "Noto Serif CJK SC", serif;
|
||||
"FandolSong", "STZhongsong", "Noto Serif CJK SC", serif;
|
||||
}
|
||||
|
||||
#write h2 {
|
||||
font-family:
|
||||
"SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
"FandolHei", "SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
|
||||
#write h3,
|
||||
@@ -52,7 +52,7 @@
|
||||
#write h5,
|
||||
#write h6 {
|
||||
font-family:
|
||||
"KaiTi", "STKaiti", "Noto Serif CJK SC", serif;
|
||||
"FandolSong", "KaiTi", "STKaiti", "Noto Serif CJK SC", serif;
|
||||
}
|
||||
|
||||
#write p {
|
||||
@@ -86,7 +86,7 @@
|
||||
margin: 0.8em 0;
|
||||
border-collapse: collapse;
|
||||
font-family:
|
||||
"SimSun", "Noto Serif CJK SC", serif;
|
||||
"FandolSong", "SimSun", "Noto Serif CJK SC", serif;
|
||||
font-size: 0.84em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@@ -100,7 +100,7 @@
|
||||
#write th {
|
||||
background: #e9e9e9;
|
||||
font-family:
|
||||
"SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
"FandolHei", "SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -24,5 +24,30 @@
|
||||
"docxStyle": {
|
||||
"preset": "formal"
|
||||
},
|
||||
"docxFonts": {
|
||||
"faces": [
|
||||
{
|
||||
"family": "FandolSong",
|
||||
"aliases": ["STZhongsong", "FangSong", "STFangsong", "KaiTi", "STKaiti", "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": ["STZhongsong", "FangSong", "STFangsong", "KaiTi", "STKaiti", "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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user