Skip to content
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

add support for otf fonts #365

Closed
peetzweg opened this issue Jul 27, 2015 · 3 comments
Closed

add support for otf fonts #365

peetzweg opened this issue Jul 27, 2015 · 3 comments

Comments

@peetzweg
Copy link

I just created a new vfs_fonts.js with the libre-baskerville otf files, it worked fine, but I was not able to use them in my pdf.

Error: Not a supported font format or standard PDF font.    pdfmake.js:132

Seems like otf are not supported yet, couldn't find simliar issues in this tracker. In issue #51 pcpuser suggests to convert it to ttf. This worked fine but is not very elegant. Not sure if this support can be added in pdfmake or should be implemented in the underlying pdfkit library?

@devongovett
Copy link
Contributor

This is coming very soon to pdfkit, via fontkit.

@loverdrive
Copy link

@devongovett is possible to use fontkit now?
I have a problem of performance with japanese/chinese/korean fonts. On tablet, it may take minutes to generate pdf, using japanese fonts.
I hope to improve performance with new fontkit, so i'd like to try it.

Another noob question: how can i use fontkit into pdfmaker?

Thank you very much!

@liborm85
Copy link
Collaborator

Supported by actual release (0.1.22).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants