Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vrender-core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export const VGlobal = Symbol.for('VGlobal');

export const DEFAULT_TEXT_FONT_FAMILY =
// eslint-disable-next-line max-len
'PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol';
`PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,'-apple-system',segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol`;
2 changes: 1 addition & 1 deletion packages/vrender-core/src/graphic/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const DefaultTextStyle: Required<ITextAttribute> = {
textBaseline: 'alphabetic',
fontSize: 16,
// @ts-ignore
fontFamily: `PingFang SC,Microsoft Yahei,system-ui,-apple-system,segoe ui,
fontFamily: `PingFang SC,Microsoft Yahei,system-ui,'-apple-system',segoe ui,
Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui symbol`,
fontWeight: '',
ellipsis: '…',
Expand Down
Loading