-
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
Support for custom fonts in OpenType .otf format #2276
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? |
@arasabbasi thanks for feedback on the idea! |
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. |
(As a feature request, I'd still say that it is relevant. But I don't know how this initiative deals with feature requests.) |
Let's leave it open ;) |
Bonus: Also add support for CFF glyph outline data (#2921). |
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
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 .The text was updated successfully, but these errors were encountered: