Hi,

If you use the text stripper, then you can use TextPosition.getXScale(). Alternatively look into the source code of showText() and you will notice textRenderingMatrix getting calculated. Then call getScalingFactorX() on it.

Tilman

On 19.02.2025 19:32, Stefan wrote:
In the class PDFStreamEngine the method showText() is rendering a text.

I want to get there the real font size that is used - after all transformations.

Is this possible?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to