fix: pdf font

This commit is contained in:
JOYCEQL
2024-11-27 14:07:38 +08:00
parent 0358809ce6
commit 58fa231fa6
@@ -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>