On 04.02.2025 16:19, luca boncompagni wrote:
I think that the problem is in the font attached, the chars width
table has only 5 entries (see chars_width.png attached).

Can I do something to obtain the correct space?

My theory on what's happening:

The default resources font and the page font are the same object. I assume it has the /W entries of the characters used in the page. If I remove the /W entries then "Ciao" looks like this:

instead of

So I think this font has some weird built-in widths, or PDFBox has a bug reading / handling these widths.

This might take longer... maybe try using another font until we find out what's going on.

Tilman

Reply via email to