Antonio Vera created PDFBOX-2657: ------------------------------------ Summary: 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