I am using Apache pdfbox 1.5 to extract text from PDF. It is being used. It seems to work fine for some PDF but it failed for a PDF with error below. Let me know if anyone is facing such an issue & amp; Resolved
Is it possible to share this PDF file that is causing this problem Has been doing? Also, check whether the work with the java.lang.IndexOutOfBoundsException: Index: 2, Size: java.util.SubList.rangeCheck (AbstractList.java:864) 2 on java.util.SubList.get (AbstractList . Java: 737) org.apache.fontbox.cff.CharStringConverter.drawCurve (CharStringConverter.java:415) on org.apache.fontbox.cff.CharStringConverter.handleType2Command (CharStringConverter.java:277) on org.apache.fontbox.cff on .CharStringConverter.handleCommand org.apache.fontbox.cff.CharStringHandler.handleSequence (CharStringHandler.java:53) to (CharStringConverter.java:81) org.apache.fontbox.cff.CharStringConverter.handleType2Command (CharStringConverter.java:307) on org.apache.fontbox.cff.CharStringConverter.handleCommand org.apache.fontbox.cff.CharStringHandler.handleSequence (CharStringHandler.java:53) on org.apache.fontbox.cff.CharStringConverter.convert (CharStringConverter.java:81) (CharStri ngConverter.java:64) org.apache.fontbox.cff.AFMFormatter er.renderFont on org.apache.fontbox.cff.CFFFont $ Mapping.toType1Sequence (CFFFont.java:374) on org.apache.fontbox.cff.AFMFormatt. Printfontmetrics (AFMFormatter.java:64) at (AFMFormatter.java:126) org.apache.fontbox.cff.AFMFormatter.printFont (AFMFormatter.java:57) at organization.apache.fontbox.cff.AFMFormatter.format (AFMFormatter. Java: 50)
-force option is enabled.
Comments
Post a Comment