xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Douglas" <edoug...@blockhouse.com>
Subject RE: How to make embedded font readable?
Date Mon, 12 Sep 2011 19:54:07 GMT
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.
 
 

-----Original Message-----
From: Andreas Lehmkuehler [mailto:andreas@lehmi.de] 
Sent: Monday, September 12, 2011 3:30 PM
To: users@pdfbox.apache.org
Cc: fop-users@xmlgraphics.apache.org
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

Mime
View raw message