feat: 实现 DOCX 可编辑字体嵌入
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"height": "8mm",
|
||||
"showDivider": false,
|
||||
"fontSize": "4.94mm",
|
||||
"fontFamily": "\"Mdpdf Fandol Song\", SimSun, serif",
|
||||
"fontFamily": "\"FandolSong\", SimSun, serif",
|
||||
"color": "#000000",
|
||||
"left": {
|
||||
"enabled": false,
|
||||
@@ -53,7 +53,7 @@
|
||||
"height": "7mm",
|
||||
"showDivider": false,
|
||||
"fontSize": "4.94mm",
|
||||
"fontFamily": "\"Mdpdf Fandol Song\", SimSun, serif",
|
||||
"fontFamily": "\"FandolSong\", SimSun, serif",
|
||||
"color": "#000000",
|
||||
"alignment": "outer",
|
||||
"format": "official-page",
|
||||
@@ -61,6 +61,42 @@
|
||||
"showOnFirstPage": true
|
||||
}
|
||||
},
|
||||
"docxFonts": {
|
||||
"faces": [
|
||||
{
|
||||
"family": "FandolSong",
|
||||
"aliases": ["Mdpdf Fandol Song", "STZhongsong", "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", "SimSun"],
|
||||
"source": "theme-shared:official-fonts/FandolSong-Bold.woff2",
|
||||
"weight": 700,
|
||||
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
|
||||
},
|
||||
{
|
||||
"family": "FandolFang",
|
||||
"aliases": ["Mdpdf Fandol Fang", "FangSong", "STFangsong"],
|
||||
"source": "theme-shared:official-fonts/FandolFang-Regular.woff2",
|
||||
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
|
||||
},
|
||||
{
|
||||
"family": "FandolHei",
|
||||
"aliases": ["Mdpdf Fandol Hei", "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"
|
||||
},
|
||||
{
|
||||
"family": "FandolKai",
|
||||
"aliases": ["Mdpdf Fandol Kai", "KaiTi", "STKaiti"],
|
||||
"source": "theme-shared:official-fonts/FandolKai-Regular.woff2",
|
||||
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"docxStyle": {
|
||||
"preset": "official"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user