Hi,
Am 12.09.2011 21:54, schrieb Eric Douglas:
I'll look into that JIRA, thanks.
The pdfbox error in the original message below shows the class and method
producing this message in the Java log.
Digging a little deeper, this is caused by the pdfbox method:
org.apache.pdfbox.pdmodel.font.PDFontDescriptorDictionary.getFontFile2()
This is trying to read the "FontFile2" key which was written by FOP.
org.apache.fop.pdf.PDFFontDescriptor.setFontFile()
One of these is missing something.
Ah, this confirmed my suspicion. That issue seemd to be related to PDFBOX-490.
-----Original Message-----
From: Andreas Lehmkuehler [mailto:[email protected]]
Sent: Monday, September 12, 2011 3:30 PM
To: [email protected]
Cc: [email protected]
Subject: Re: How to make embedded font readable?
Hi,
Am 12.09.2011 15:31, schrieb Eric Douglas:
FOP created the PDF. Pdfbox is trying to read it.
I'm not sure which end is missing what.
I'm embedding fonts and pdfbox says there's something there it can't
read.
I guess it is an issue with PDFBox, but without a sample PDF it's only a guess.
Please create an issue on JIRA [1] and attach a sample pdf to it.
Sep 12, 2011 9:18:12 AM
org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
INFO: Can't read the embedded font EAAAAD+LucidaSans-Typewriter
BR
Andreas Lehmkühler
[1] https://issues.apache.org/jira/browse/PDFBOX
BR,
Andreas Lehmkühler
[1] https://issues.apche.org/jira/browse/PDFBOX-490