You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Brian Carrier (JIRA)" <ji...@apache.org> on 2009/02/18 22:16:01 UTC

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

    [ https://issues.apache.org/jira/browse/PDFBOX-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674782#action_12674782 ] 

Brian Carrier commented on PDFBOX-429:
--------------------------------------

Initial patch by Ken Glidden applied that returns the absolute value of the negative number. We were not able to trace down the source of the bug, but this fix seems to give correct numbers.  

Sending        PDFontDescriptorDictionary.java
Transmitting file data .
Committed revision 745653.

Since we aren't sure if it is actually the correct fix, I will leave this open. 

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