You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Shengwen Yang <ya...@gmail.com> on 2009/03/31 11:14:27 UTC

bug report - org.apache.pdfbox.util.PDFTextStripper can not get proper font information

Attached please find a test document.

When I traced into the code, I found that the TextPosition.getFontSize()=1
and TextPosition.getXScale() = 0.24 in all cases. However, the
TextPosition.getFont().getAverageFontWidth() has different values obviously.