-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback fonts #28
Comments
Hi there, @jakubmirejovsky, I have exactly the same problem, did you found solution for this? |
Hi, hope my experience can help you. I use this package to convert pdf, but recently I found some pdf texts are missing after conversion. So I tried to debug this, and set
After several hours no-use trying to add missing font, I realized this error is thrown by its dependent pdf.js package, and as they said, they have fixed this issue by adding default font, but we need to reference correctly mozilla/pdf.js#4244 (comment) So I change this line const standardFontDataUrl = '../node_modules/pdfjs-dist/standard_fonts/'; in my local, and it works! Everything renders correctly! You can either change it to |
Same problem here. I got a blank white pdf. |
Works for me! Thank you. |
Please try v3.3.0 |
Hi, is there any correct way to tell the converter to fallback fonts if the glyphs can't be rendered - per glyph?
Related issues:
Example of file which renders poorly: https://drive.google.com/file/d/1Z-cF3Vba1rbFCM6Qj5iDttqs9aquYGJi/view?usp=share_link
I tried disableFontFace true, false, useSystemFonts both true and false. No combination returned a correct render.
Any help will be appriciated! :)
The text was updated successfully, but these errors were encountered: