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.
