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:
@@ -29,6 +29,8 @@ export async function POST(req: Request) {
|
||||
|
||||
await page.setContent(content);
|
||||
|
||||
await page.evaluate(() => document.fonts.ready);
|
||||
|
||||
const marginPx = margin + "px";
|
||||
|
||||
const pdf = await page.pdf({
|
||||
|
||||
Reference in New Issue
Block a user