You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use your example to generate a PDF using pdfkit and everything looks really great but right now I have a problem with UTF-8 chars (for ex. żąśćółàç). Instead of correct charset I have a missing one.
Do you have any solution for that?
Best
The text was updated successfully, but these errors were encountered:
@mits87 You can load a custom font to solve it, see here: https://pdfkit.org/docs/text.html
For example, instead of using helvetica, I use Cardo: doc.font(path.join(__dirname, './assets/Cardo/Cardo-Regular.ttf'))
Hi,
I'm trying to use your example to generate a PDF using pdfkit and everything looks really great but right now I have a problem with UTF-8 chars (for ex.
żąśćółàç
). Instead of correct charset I have a missing one.Do you have any solution for that?
Best
The text was updated successfully, but these errors were encountered: