You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/21 14:51:11 UTC
[jira] [Commented] (PDFBOX-3125) IndexOutOfBoundsException in
PDFont.getWidth()
[ https://issues.apache.org/jira/browse/PDFBOX-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020473#comment-15020473 ]
ASF subversion and git services commented on PDFBOX-3125:
---------------------------------------------------------
Commit 1715525 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1715525 ]
PDFBOX-3125: avoid IndexOutOfBoundsException
> IndexOutOfBoundsException in PDFont.getWidth()
> ----------------------------------------------
>
> Key: PDFBOX-3125
> URL: https://issues.apache.org/jira/browse/PDFBOX-3125
> Project: PDFBox
> Issue Type: Sub-task
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.0
>
> Attachments: PDFBOX-3125-HVFXQIAKWLRQ6CNWDYVT64BVPVJTN7TS-p3.pdf
>
>
> {code}
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 85, Size: 83
> at java.util.ArrayList.rangeCheck(Unknown Source)
> at java.util.ArrayList.get(Unknown Source)
> at org.apache.pdfbox.pdmodel.common.COSArrayList.get(COSArrayList.java:524)
> at org.apache.pdfbox.pdmodel.font.PDFont.getWidth(PDFont.java:230)
> at org.apache.pdfbox.pdmodel.font.PDFont.getDisplacement(PDFont.java:211)
> at org.apache.pdfbox.contentstream.PDFStreamEngine.showText(PDFStreamEngine.java:686)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org