We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Font embedded config may not work. I tried: https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts with Jaldi-Regular.ttf in https://github.com/LibrePDF/OpenPDF/tree/master/openpdf/src/test/resources/fonts/jaldi .
embedded
To Reproduce Code to reproduce the issue
true
false
Both generates 6508 byte HelloWorld.pdf .
Expected behavior PDF size changes.
System (please complete the following information):
com.github.librepdf:openpdf:1.3.26
org.apache.xmlgraphics:fop:2.3
org.apache.xmlgraphics:xmlgraphics-commons:2.3
The text was updated successfully, but these errors were encountered:
Pull requests are welcome.
Sorry, something went wrong.
@asturio Hi, if no one takes it, I want to try it.
@takotakot you only replace font name in following code in https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts, but "Identity-H" will force embedded to be true. document.add(new Chunk( "नमस्ते", FontFactory.getFont("nirmala ui", "Identity-H",false,10,0,null)));
"Identity-H"
document.add(new Chunk( "नमस्ते", FontFactory.getFont("nirmala ui", "Identity-H",false,10,0,null)));
I don't know whether it is a wrong usage and I think @codecracker2014 can give us a help since maybe the feature is done by him according to #297.
No branches or pull requests
Describe the bug
Font
embedded
config may not work.I tried: https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts with Jaldi-Regular.ttf in https://github.com/LibrePDF/OpenPDF/tree/master/openpdf/src/test/resources/fonts/jaldi .
To Reproduce
Code to reproduce the issue
embedded
value bothtrue
andfalse
Both generates 6508 byte HelloWorld.pdf .
Expected behavior
PDF size changes.
System (please complete the following information):
com.github.librepdf:openpdf:1.3.26
org.apache.xmlgraphics:fop:2.3
org.apache.xmlgraphics:xmlgraphics-commons:2.3
The text was updated successfully, but these errors were encountered: