[ https://issues.apache.org/jira/browse/PDFBOX-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873002#comment-13873002 ]
John Hewson edited comment on PDFBOX-1849 at 1/16/14 3:11 AM: -------------------------------------------------------------- Yep, this was indeed caused by my patch PDFBOX-1831, the problem on line 66 of Type2CharString in the getWidth() method: {code:java} return nominalWidthX + width; {code} Should be: {code:java} return width; {code} We should wait until PDFBOX-1844 is closed before fixing this to avoid breaking my 1000+ line patch. was (Author: jahewson): Yep, this was indeed caused by my patch PDFBOX-1831, the problem on line 66 of Type2CharString in the getWidth() method: {code:return nominalWidthX + width;} Should be: {code:return width;} We should wait until PDFBOX-1844 is closed before fixing this to avoid breaking my 1000+ line patch. > Isartor test 6-3-5-t01-fail-a does not return the expected error code > --------------------------------------------------------------------- > > Key: PDFBOX-1849 > URL: https://issues.apache.org/jira/browse/PDFBOX-1849 > Project: PDFBox > Issue Type: Bug > Components: FontBox, Preflight > Reporter: Guillaume Bailleul > Assignee: Guillaume Bailleul > Fix For: 2.0.0 > > > A modification on fonts handling during december 2013 or January 2014 made an > isartor test not detecting the expected error. > This test (6-3-5-t01-fail-a) should detect missing glyph but now detect > metrics issues -- This message was sent by Atlassian JIRA (v6.1.5#6160)