chore: update default font #360

This commit is contained in:
Hufe921
2023-12-12 20:44:03 +08:00
parent a43104b77e
commit 8ace07962d
8 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { IPageBreak } from '../../interface/PageBreak'
export const defaultPageBreakOption: Readonly<Required<IPageBreak>> = {
font: 'Yahei',
font: 'Microsoft YaHei',
fontSize: 12,
lineDash: [3, 1]
}
+1 -1
View File
@@ -10,7 +10,7 @@ export const FORMAT_PLACEHOLDER = {
export const defaultPageNumberOption: Readonly<Required<IPageNumber>> = {
bottom: 60,
size: 12,
font: 'Yahei',
font: 'Microsoft YaHei',
color: '#000000',
rowFlex: RowFlex.CENTER,
format: FORMAT_PLACEHOLDER.PAGE_NO,
+1 -1
View File
@@ -5,5 +5,5 @@ export const defaultPlaceholderOption: Readonly<Required<IPlaceholder>> = {
color: '#DCDFE6',
opacity: 1,
size: 16,
font: 'Yahei'
font: 'Microsoft YaHei'
}
+1 -1
View File
@@ -5,5 +5,5 @@ export const defaultWatermarkOption: Readonly<Required<IWatermark>> = {
color: '#AEB5C0',
opacity: 0.3,
size: 200,
font: 'Yahei'
font: 'Microsoft YaHei'
}
+1 -1
View File
@@ -136,7 +136,7 @@ export default class Editor {
const editorOptions: DeepRequired<IEditorOption> = {
mode: EditorMode.EDIT,
defaultType: 'TEXT',
defaultFont: 'Yahei',
defaultFont: 'Microsoft YaHei',
defaultSize: 16,
minSize: 5,
maxSize: 72,