John Hewson created PDFBOX-2437:
-----------------------------------

             Summary: PDFont isSymbolic() has unexpected return value
                 Key: PDFBOX-2437
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2437
             Project: PDFBox
          Issue Type: Bug
            Reporter: John Hewson


>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)

Reply via email to