feat: 实现 DOCX 可编辑字体嵌入
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#write {
|
||||
color: var(--report-ink);
|
||||
font-family:
|
||||
"Noto Serif CJK SC", "Source Han Serif SC",
|
||||
"FandolFang", "Noto Serif CJK SC", "Source Han Serif SC",
|
||||
"Microsoft YaHei", "SimSun", serif;
|
||||
font-size: 18px;
|
||||
line-height: 1.8;
|
||||
@@ -32,7 +32,7 @@
|
||||
#write h3,
|
||||
#write h4 {
|
||||
font-family:
|
||||
"Noto Sans CJK SC", "Source Han Sans SC",
|
||||
"FandolHei", "Noto Sans CJK SC", "Source Han Sans SC",
|
||||
"Microsoft YaHei", sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -108,7 +108,7 @@
|
||||
color: #fff;
|
||||
background: var(--report-navy);
|
||||
font-family:
|
||||
"Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
"FandolHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,22 @@
|
||||
"left": "28mm"
|
||||
}
|
||||
},
|
||||
"docxFonts": {
|
||||
"faces": [
|
||||
{
|
||||
"family": "FandolFang",
|
||||
"aliases": ["FangSong", "STFangsong", "Noto Serif CJK SC", "Source Han Serif SC", "Microsoft YaHei", "SimSun"],
|
||||
"source": "theme-shared:official-fonts/FandolFang-Regular.woff2",
|
||||
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
|
||||
},
|
||||
{
|
||||
"family": "FandolHei",
|
||||
"aliases": ["SimHei", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei"],
|
||||
"source": "theme-shared:official-fonts/FandolHei-Regular.woff2",
|
||||
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"docxStyle": {
|
||||
"preset": "formal"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user