You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Kenneth Glidden (JIRA)" <ji...@apache.org> on 2009/03/04 21:43:56 UTC

[jira] Updated: (PDFBOX-429) PDFontDescriptorDictionary methods returning negative height values

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

Kenneth Glidden updated PDFBOX-429:
-----------------------------------

    Attachment: PDFontDescriptorDictionary.java

For the record and to establish authorship and transfer of rights to ASF, I've attached PDFontDescriptorDictionary.java which contains the changes that Brian checked in for me on 18/Feb/09. 

> PDFontDescriptorDictionary methods returning negative height values
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-429
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-429
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: Windows Vista
>            Reporter: Brian Carrier
>            Priority: Minor
>         Attachments: diac-debug2.pdf, PDFontDescriptorDictionary.java
>
>
> With the attached file, PDFontDescriptorDictionary.getXHeight() and PDFontDescriptorDictionary.getCapHeight() will return a negative value from the "dic.getFloat(...)" function. These height values should never be less than 0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.