Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2, 2.0.3, 3.0.0 PDFBox
-
None
Description
Happens with text extraction and rendering:
Exception in thread "main" java.lang.IllegalArgumentException: Symbolic fonts must have a built-in encoding at org.apache.pdfbox.pdmodel.font.encoding.DictionaryEncoding.<init>(DictionaryEncoding.java:113) at org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:126) at org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:131) at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:60) at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123) at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:829)