mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-07-03 14:07:11 +02:00
fix: pdf font
This commit is contained in:
@@ -37,6 +37,13 @@ export function PdfExport() {
|
||||
const content = `
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'NaihuSC';
|
||||
src: url('${process.env.FONT_URL}') format('woff2');
|
||||
font-display: swap;
|
||||
}
|
||||
</style>
|
||||
<style>${styles}</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user