pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Localization of a PDF
Date Fri, 10 Jul 2015 22:05:58 GMT
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?


To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message