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

Andreas Lehmkühler resolved PDFBOX-1505.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0)
                   1.8.0
         Assignee: Andreas Lehmkühler

I added the patch in revision 1441918 as proposed.

I have to admit that I didn't understand every single piece of the code, but it 
looks good, works and doesn't break any test.

Thanks for the contribution! 
                
> [PATCH] 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
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 1.8.0
>
>         Attachments: patch.diff, pic1.PNG
>
>
> 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

Reply via email to