[ 
https://issues.apache.org/jira/browse/PDFBOX-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133948#comment-17133948
 ] 

Tilman Hausherr commented on PDFBOX-4866:
-----------------------------------------

Did you test it, and what happens now?

> java.lang.IndexOutOfBoundsException
> -----------------------------------
>
>                 Key: PDFBOX-4866
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4866
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Rendering
>    Affects Versions: 2.0.19
>            Reporter: Dushyanth Balasubramanian
>            Priority: Major
>
> java.lang.IndexOutOfBoundsExceptionjava.lang.IndexOutOfBoundsException at 
> java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:180) at 
> org.apache.fontbox.pfb.PfbParser.parsePfb(PfbParser.java:148) at 
> org.apache.fontbox.pfb.PfbParser.<init>(PfbParser.java:112) at 
> org.apache.fontbox.type1.Type1Font.createWithPFB(Type1Font.java:69) at 
> org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:251) at 
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:76)
>  at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146) at 
> org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:66)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:875)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:509)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:483)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
>  at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:270) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:321) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:243) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:229)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to