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/10/18 21:50:33 UTC

[jira] [Updated] (PDFBOX-2437) PDFont isSymbolic() has unexpected return value

     [ https://issues.apache.org/jira/browse/PDFBOX-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson updated PDFBOX-2437:
--------------------------------
    Fix Version/s: 2.0.0

> PDFont isSymbolic() has unexpected return value
> -----------------------------------------------
>
>                 Key: PDFBOX-2437
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2437
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> From the mailing list:
> {quote}
> Hello,
> I believe the following lines should fallback to false instead of true.
> https://github.com/apache/pdfbox/blob/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFont.java#L401-L402
> {
>    // unless we can prove that the font is symbolic, we assume that it is
> not
>    isSymbolic = true;
> }
> Thought to let you know.
> Best Regards,
> Hisham
> {quote}
> Either the comment or the return value is wrong, but this code is very brittle so we'll need to do lots of regression testing if any changes are made.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)