[ 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-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org