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/10 23:30:33 UTC

[jira] [Closed] (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 ]

John Hewson closed PDFBOX-429.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

Looks like this was fixed long ago, I'll just mark it as 1.8.0.

> PDFontDescriptorDictionary methods returning negative height values
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-429
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-429
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>         Environment: Windows Vista
>            Reporter: Brian Carrier
>            Priority: Minor
>             Fix For: 1.8.0
>
>         Attachments: PDFontDescriptorDictionary.java, diac-debug2.pdf
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)