Am 10.07.2015 um 23:35 schrieb James Rothering:
Hi everyone! I'm sorry I could't lurk a bit longer, but I've been asked to
determine what's involved in localization of some reports using PDFBox.
Specifically, we have to produce a simplified and traditional Chinese
version. I've got a font file installed on my box called wqy-zenhei.ttc ; It's
working on my java swing app, to load up this font and put out unicode
characters on screen.

Now I need to see about the reports. I'm far from an expert on this, so
I've been Googling Stackoverflow and so on, and it seems that the really
right way to do this would be to embed the font into the PDF as a PDF/A, so
that anyone who got the PDF would be able to display it, since the font is
not deriving from user/share/fonts, but from within the PDF itself.
PDFA is not required, you only need to embed it properly.


Am I correct in understanding that this is only possible under the
yet-to-be released version 2 of PDFBox? I started to build it to try out
the example code, but apparently I don't have JCE installed.
Then do it... or build with

mvn -DskipTests install


There's are example files, EmbeddedFonts.java or CreatePDFA.java

Also, since
we're already running with PDBox 1.8 or 1.9, is there an alternative way to
accomplish this in those earlier versions?

No

TIlman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to