1
mirror of https://github.com/xitanggg/open-resume synced 2024-11-03 09:19:21 +01:00

add Chinese fonts 'FangZheng' to fix garbled characters at exporting

This commit is contained in:
sho 2023-07-11 22:05:10 +08:00 committed by Xitang Zhao
parent f566681358
commit 521caf98d0
3 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -12,6 +12,7 @@
* (Note that some fonts might still not work after export.)
*/
export const SANS_SERI_FONT_FAMILIES = [
"FangZheng",
"Roboto",
"Lato",
"Montserrat",
@ -35,6 +36,7 @@ export const FONT_FAMILIES = [
export type FontFamily = (typeof FONT_FAMILIES)[number];
export const FONT_FAMILY_TO_STANDARD_SIZE_IN_PT: Record<FontFamily, number> = {
FangZheng: 11,
Roboto: 11,
Lato: 11,
Montserrat: 10,