-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
running example code with node 8.11.2 get "Error: ENOENT: no such file or directory, open 'fonts/PalatinoBold.ttf" #823
Comments
It might be worth base 64 encoding the font fil and loading it that way as a work around maybe? |
Same issue. |
Hi all After specifying the fonts path relative to e.g.
Hope this helps anyone having the same problem! |
@dillonstreator thanks man it worked |
@dillonstreator, didn't work for me... =( My folders are like: /fonts So I had to do : what can I do? |
remove the above trailing slashes and dots in path |
trying to run the code from pdfkit site get the error
The text was updated successfully, but these errors were encountered: