Support for custom fonts in OpenType .otf format
See original GitHub issueThis is a feature request. As of today jsPDF (v1.5.3) can work with custom fonts in the .ttf
format,
but not the .otf
format.
Some fonts are only available in the .otf
and a conversion maybe lossy.
An example is https://github.com/libertinus-fonts/libertinus
So it would be cool if jsPDF would support custom fonts in .otf
format directly. There is other javascript code under a Free Software license that could be inspected like https://github.com/foliojs/fontkit .
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Support for custom fonts in OpenType .otf format #2276 - GitHub
This is a feature request. As of today jsPDF (v1.5.3) can work with custom fonts in the .ttf format, but not the .otf...
Read more >Adding a Custom Font to Your App - Apple Developer
Your app isn't limited to the custom fonts provided by iOS. If your company has its ... You can add True Type Font...
Read more >TTF/OTF - TrueType and OpenType font support - CanIUse
TTF /OTF - TrueType and OpenType font support · Global · Chrome · Edge * · Safari · Firefox · Opera · IE...
Read more >How to use Open Type Font (OTF) in Flutter? - Stack Overflow
You can refer to the guide on how to use custom fonts in flutter for ... Note: OTF is now officially supported, see...
Read more >How to Use Any Font You Like with CSS3 - Webdesigner Depot
You can use EOT (Embedded OpenType) files for Internet Explorer and either OTF (OpenType) or TTF (TrueType) for the rest.
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
That is a great Idea. Do you have already a roadmap in how to Implement it?
When can you provide a first pull request?
Bonus: Also add support for CFF glyph outline data (#2921).