chore: update default font #360
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -5,5 +5,5 @@ export const defaultPlaceholderOption: Readonly<Required<IPlaceholder>> = {
|
||||
color: '#DCDFE6',
|
||||
opacity: 1,
|
||||
size: 16,
|
||||
font: 'Yahei'
|
||||
font: 'Microsoft YaHei'
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ export const defaultWatermarkOption: Readonly<Required<IWatermark>> = {
|
||||
color: '#AEB5C0',
|
||||
opacity: 0.3,
|
||||
size: 200,
|
||||
font: 'Yahei'
|
||||
font: 'Microsoft YaHei'
|
||||
}
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user