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:
parent
f566681358
commit
521caf98d0
BIN
public/fonts/FangZheng-Bold.ttf
Normal file
BIN
public/fonts/FangZheng-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/FangZheng-Regular.ttf
Normal file
BIN
public/fonts/FangZheng-Regular.ttf
Normal file
Binary file not shown.
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user