Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.26, 3.0.0 PDFBox
-
None
Description
This is an issue related to PDFBOX-2326
I get the same fault with the attached PDF.
java.lang.IllegalArgumentException: Use PDType1CFont for FontFile3 at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:223) at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:111) at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:143) at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:66) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:849) 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.showForm(PDFStreamEngine.java:173) at org.apache.pdfbox.rendering.PageDrawer.showForm(PageDrawer.java:1428) at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:86) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:849) 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:142) at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:264) at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:338) at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:259) at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:245)