Description
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