-
Notifications
You must be signed in to change notification settings - Fork 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
Custom font Not Work, With An Error:No unicode cmap for font #923
Comments
Screenshot not uploaded, you can upload it again? |
It since that I can't upload the screenshot,So I type it as the follow: Uncaught Error:No unicode cmap for font Looking forward to your reply,Thank you |
This error throw version 0.1.20 (or older). Update to the latest version - https://github.com/bpampuch/pdfmake/releases/latest. |
Update to the latest version,The problem has been solved,Thank you very much.But another error appeard:
My project structure(MVC) is as follows:
My code:
I confused that why it can't find the msyh.ttf |
Here it is described how to add custom fonts: https://github.com/bpampuch/pdfmake/wiki/Custom-Fonts---client-side Fonts must be in vfs_fonts.js file. A definition font file names must be without path. |
Thank you very much,The pdf has been successfully opened.Thank you for providing so powerful and convenient tool |
I just started to use pdfmake,When I follow the step as this article advice (#33 new vfs_fonts.js is created,but it can't work,the error As is shown in the screenshots:
I really need help,Thanks in advance.
The text was updated successfully, but these errors were encountered: