Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.0
-
Windows XP, RAD 7.5, Websphere 6.1, pdfbox-app-1.5.0.jar, fontbox-1.5.0.jar
Description
Hi Team, The text extraction works fine with most pdf's but it failed for couple of them with the below error: The pdf can be found here http://cid-a3aa7f7d9888874d.office.live.com/self.aspx/Public/getting%5E_started%5E_with%5E_Flex3.pdf . Let me know if this is a bug or an issue with the pdf.
java.lang.IndexOutOfBoundsException: Index: 2,Size: 2
at java.util.SubList.rangeCheck(AbstractList.java:864)
at java.util.SubList.get(AbstractList.java:737)
at org.apache.fontbox.cff.CharStringConverter.drawCurve(CharStringConverter.java:415)
at org.apache.fontbox.cff.CharStringConverter.handleType2Command(CharStringConverter.java:277)
at org.apache.fontbox.cff.CharStringConverter.handleCommand(CharStringConverter.java:81)
at org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:53)
at org.apache.fontbox.cff.CharStringConverter.handleType2Command(CharStringConverter.java:307)
at org.apache.fontbox.cff.CharStringConverter.handleCommand(CharStringConverter.java:81)
at org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:53)
at org.apache.fontbox.cff.CharStringConverter.convert(CharStringConverter.java:64)
at org.apache.fontbox.cff.CFFFont$Mapping.toType1Sequence(CFFFont.java:374)
at org.apache.fontbox.cff.AFMFormatter.renderFont(AFMFormatter.java:126)
at org.apache.fontbox.cff.AFMFormatter.printFontMetrics(AFMFormatter.java:64)
at org.apache.fontbox.cff.AFMFormatter.printFont(AFMFormatter.java:57)
at org.apache.fontbox.cff.AFMFormatter.format(AFMFormatter.java:50)
Attachments
Issue Links
- depends upon
-
PDFBOX-1473 Incorrect handling of OpenType fonts
- Closed