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 2015/02/03 20:56:35 UTC

[jira] [Closed] (PDFBOX-2657) Bad leading for AFM Fonts

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

John Hewson closed PDFBOX-2657.
-------------------------------
    Resolution: Won't Fix

This class no longer exists in 2.0 and it would cause potential problems to change its 1.8 behaviour.

> Bad leading for AFM Fonts
> -------------------------
>
>                 Key: PDFBOX-2657
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2657
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 1.8.8
>            Reporter: Antonio Vera
>            Priority: Minor
>
> PDFontDescriptorAFM::getLeading is returning 0F because leading is not present in the FontMetric structure for AFM fonts.
> Thats not correct since leading is a redundant metric, and can be calculated by height - ascent - ABS(descent) (or 1000-ascent-ABS(descent)).
> ABS: Absolute value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org