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: Embedded font problem
Date Fri, 17 Nov 2017 16:11:48 GMT
I tried on several computers and it works fine and I'm not even getting 
any log output.

There is no font "FEWLWR+Calibri" in your file. There is WYSTDV+Calibri, 
LMBRYT+Calibri-Bold, MOLOFZ+Calibri, YAYKNK+Calibri-BoldItalic, 
JJGKRY+Calibri-Italic, HEYKNJ+Calibri-Italic and ZSXJFZ+Calibri-Bold.

Btw the exception is non-fatal. The embedded font is marked as damaged 
and PDFBox tries to find a substitute.

Tilman


Am 17.11.2017 um 08:40 schrieb lauri.laanti@heeros.com:
> Hello,
>
> I am sorry, that was using the 2.0.7 version.
>
> The same error appears with 2.0.8 too:
>
> first a WARN:
>
> WARN org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>():140 - Could
> not read embedded OTF for font FEWLWR+Calibri
>
> next the exception:
>
> java.io.EOFException
> at
> org.apache.fontbox.ttf.MemoryTTFDataStream.readUnsignedShort(MemoryTTFDataStream.java:120)
> at
> org.apache.fontbox.ttf.HorizontalMetricsTable.read(HorizontalMetricsTable.java:61)
> at org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:335)
> at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:173)
> at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150)
> at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:79)
> at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:27)
> at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)
> at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:73)
> at
> org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:116)
> at
> org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:69)
> at
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)
> at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:136)
> at
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
> at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:143)
> at
> org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:838)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:495)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:469)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:150)
> at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:203)
> at
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:145)
>
>
>
> yours,
>
> -Lauri
>


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


Mime
View raw message