fonts in server action to generate PDF
Unanswered
West African Lion posted this in #help-forum
West African LionOP
I'm trying to generate a PDF invoice within a server action.
I'm using pdfkit.
I need some font, and PDFKit can't find the default font:
I'm open to any workardound 🙂
I'm using pdfkit.
I need some font, and PDFKit can't find the default font:
ENOENT: no such file or directory, open '.next/server/vendor-chunks/data/Helvetica.afm'I'm open to any workardound 🙂