You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Robert Meyer (JIRA)" <ji...@apache.org> on 2013/01/31 16:03:12 UTC

[jira] [Created] (PDFBOX-1505) CharStringRenderer does not render CharString data correctly for Type 2 CFF fonts

Robert Meyer created PDFBOX-1505:
------------------------------------

             Summary: CharStringRenderer does not render CharString data correctly for Type 2 CFF fonts
                 Key: PDFBOX-1505
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1505
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: Robert Meyer
            Priority: Minor
             Fix For: 2.0.0


I have a requirement to render the characters from a OTF CFF font and to get the bounding box for each character. I initially tried to use the CharStringRenderer but found the bounding box data was very different to the actual characters. Because the renderer outputs the character as a GeneralPath, I was able to draw this to a bitmap and view it. What I found was that the characters were not being drawn correctly which was effecting the bounds. I will post an image and patch in a moment to show the issue and resolution I used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira