On 13.09.2022 18:17, Eszter Bordi wrote:
Hi,

what does the int[] kerning subtable mean? I'm looking for something
similar to letter-spacing is CSS.

I don't know. This is something very low level, you need to read the TrueType specification to see what this means.

Tilman




Eszter

On Wed, Sep 7, 2022 at 7:43 PM Tilman Hausherr <thaush...@t-online.de>
wrote:

Re Kerning: You could try to use TrueTypeFont.getKerning(). To get a
TrueTypeFont, call new TTFParser().parse().


Tilman


On 07.09.2022 16:33, Eszter Bordi wrote:
Hi,

After thorough investigation in the API docs I still haven’t found the
answer, so I’m asking it here. Is there any way to get the value for
letter-spacing or kerning for a font used in the PDF? I have seen that
there is a thing called average font width, but it seems that it’s not
what
I am looking for.
Thanks for your response in advance!

Btw, great work with the lib, have been using it extensively.

Best regards,
Eszter Bordi


---------------------------------------------------------------------
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