-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Problems with embedding a TTF font #2710
Comments
Either your Wingdings font is faulty or this is a bug of jsPDF. In order to check this, could you attach your converted font file? |
TTF File Download Source for TTF File: |
Converted Fontfile: |
Or is there possibly another font or possibility (except images) to create graphics, such as a frame and a fisheye? |
You can of course use the path drawing commands: I haven't had the time yet to look into the font file, sorry. |
It's ok, I would still rather wait a little longer for the result with the font. |
Hello, is there anything new on this topic? I absolutely need this function. |
Ok, I just had a look at the font code and read a bit about OpenType fonts. Turns out, jsPDF does not support this kind of font. Your Wingdings font has a So, sadly, you need to either use a different font, convert your font so it has a Unicode cmap, or draw the symbols manually. If you want to and have the time for that you may, of course, also implement support for |
hii jspdf code here |
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant. |
Hi there,
I bind several fonts acc. the given description.
https://github.com/MrRio/jsPDF#use-of-utf-8--ttf
This works e.g. with the ARIAL and ARIALBD font. Certain special characters are also displayed correctly.
However, I need a frame and a fisheye.
For this I want to use the Wingdings font.
Unfortunately, the integration of this font does not work.
The following error occurs:
jsPDF PubSub Error No unicode cmap for font Error: "No unicode cmap for font"
The font appears in the font map.
What is possibly wrong here.
How can I use a FishEye and other characters in the PDF as shown here?
https://www.key-shortcut.com/schriftsysteme/35-symbole/symbole-typographie
Is a different font necessary?
This thread is known to me but does not help.
#2708
Best Regards
The text was updated successfully, but these errors were encountered: