[ https://issues.apache.org/jira/browse/PDFBOX-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-3780. ----------------------------------- Fix Version/s: 2.0.6 Assignee: Tilman Hausherr Resolution: Fixed Closing as this was fixed long ago and forgotten. > Heights of Characters > --------------------- > > Key: PDFBOX-3780 > URL: https://issues.apache.org/jira/browse/PDFBOX-3780 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 2.0.5 > Reporter: Uwe Möser > Assignee: Tilman Hausherr > Priority: Critical > Fix For: 2.0.6 > > Attachments: DejaVuSansCondensed-Bold.ttf, DejaVuSansCondensed.ttf, > PDFBoxHeightTest.java, PDFBoxHeightTest.pdf > > > the functions > .getFontDescriptor().getCapHeight() > .getFontDescriptor().getXHeight() > .getFontDescriptor().getAscent() > .getFontDescriptor().getDescent() > getHeight(int code) > do not work proper especially for embedded fonts, PDType0Font . > Please see the attached file PDFBoxHeightTest.pdf where the line is and > should be. The fonts were downloaded from > http://www.schriftarten-fonts.de/fonts/11283/dejavu_sans_condensed.html -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org