You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that you can add ttf fonts with :ttf-name, but I have many fonts that are in otf format.
How easy/hard might it be to add support for opentype fonts?
Looks like this project uses com.github.librepdf/openpdf for its pdf creation and the classes they use don't have an implementation for otf.
Openpdf seems to be forked from another project called iText-4.2.0.
The current successor, iText7, seems to support otf.
Adopting iText7 however, would require releasing this project under the GNU AGPL, not to mention having to deal with the API changes. Not ideal.
The text was updated successfully, but these errors were encountered:
I'd like to keep the license under LGPL, so iText7 wouldn't be a good fit unfortunately, and agree that the work in adapting the API could be significant as well. The best option would probably to convert the fonts to ttf.
I see that you can add ttf fonts with
:ttf-name
, but I have many fonts that are in otf format.How easy/hard might it be to add support for opentype fonts?
Looks like this project uses
com.github.librepdf/openpdf
for its pdf creation and the classes they use don't have an implementation for otf.Openpdf seems to be forked from another project called iText-4.2.0.
The current successor, iText7, seems to support otf.
Adopting iText7 however, would require releasing this project under the GNU AGPL, not to mention having to deal with the API changes. Not ideal.
The text was updated successfully, but these errors were encountered: