You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/01/16 04:12:20 UTC
[jira] [Comment Edited] (PDFBOX-1849) Isartor test 6-3-5-t01-fail-a
does not return the expected error code
[ 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:10 AM:
--------------------------------------------------------------
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.
was (Author: jahewson):
Yep, this was indeed caused by my patch PDFBOX-1831, the problem is in the getWidth() on line 66 of Type2CharString
return nominalWidthX + width;
Should be:
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)