Unicode fonts (utf-8) in Safari (iOS and OSX) error
See original GitHub issueHi guys
We are using the
jsPDF.text(text, x, y, optionsopt, transform)
in order to insert text to the pdf document.
Since we need to support Hebrew language we used the following api calls to add unicode fonts:
jsPDF.addFileToVFS("MyFont.ttf", myFont);
jsPDF.addFont("MyFont.ttf", "MyFont", "normal");
jsPDF.setFont("MyFont");
I downloaded *.ttf file with Hebrew fonts and it all works well on all major browsers: Chrome, Firefox & Edge. However to my regret on Safari browser whether on iPhone or Macbook it gives me gibberish text… 😦
What should i do?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Unicode fonts (utf-8) in Safari (iOS and OSX) error · Issue #3190
Hi guys We are using the jsPDF.text(text, x, y, optionsopt, transform) in order to insert text to the pdf document.
Read more >Unicode & UTF-8 support problems? - Apple Community
I'm trying to view fonts from a website but all I get are diamonds ... with Mac/Safari/OSX, but informed me that the text...
Read more >This week we had a UTF-8 issue that only impacted Safari ...
We had unicode characters in strings in our database. When those were being fetched by the front-end on Safari, the browser was making...
Read more >Issues with unicode filenames on macOS Safari in Web Edition
I ran Wireshark on the requests to list_restore_directory when I click on a folder name. And I found a difference in UTF8 encoding...
Read more >Safari on the iPhone cant display escaped unicode character
On Google Chrome on my Mac everything is rendering fine but I've tested it on Safari with my iPhone and it just shows...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please also try updating to 2.3.1
Please provide a complete repro, so we can reproduce the issue.