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: Pdfbox trunk error
Date Tue, 03 Mar 2015 21:13:13 GMT
What happens if you build pdfbox-app instead and use that one?

Tilman

Am 03.03.2015 um 21:06 schrieb Eric Douglas:
> I downloaded pdfbox trunk source from https://github.com/apache/pdfbox on
> 1/8/15 and compiled a jar and my code to render a PDF works fine.
>
> I tried building the pdfbox-2.0.0.jar and fontbox-2.0.0.jar from the
> current subversion repository and the same code to render the same PDF gets
> this error.
>
> java.io.IOException: Error: Could not find referenced cmap stream Identity-H
> at org.apache.fontbox.cmap.CMapParser.getExternalCMap(CMapParser.java:418)
> at org.apache.fontbox.cmap.CMapParser.parsePredefined(CMapParser.java:84)
> at
> org.apache.pdfbox.pdmodel.font.CMapManager.getPredefinedCMap(CMapManager.java:54)
> at
> org.apache.pdfbox.pdmodel.font.PDType0Font.readEncoding(PDType0Font.java:159)
> at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:106)
> at
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
> at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:93)
> at
> org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:50)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:802)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:464)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:438)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)
> at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:160)
> at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:203)
> at
> org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:166)
> at
> org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:150)
>


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


Mime
View raw message