Is it possible?
The problem: I have created a WYSIWYG editor that generates a PDF. The client (Swing) uses a JTextPane and TrueType fonts, and the PDF is generated on the server using PostScript fonts that are equivalent to the TTF fonts.
The problem is that the lines are wrapped differently because of the font kerning.
That is where I think the problem is anyway - I specify font, font size, indent (left, right, first line), Line Leading, Paragraph space before & after -> All these variables are the same on the client and the server.
So, kerning it is? But I can't find kerning in StyleConstants / Font.