Joop Vriend wrote:
To begin with: we use FOP 0.20.4, and this mail is about a partly fix for missing letter-spacing/kerning between words in PDF's.

Well, thanks for the effort but this patch wont make it into FOP soon, mainly because the layout core doesn't take kerning into account at all, which needs to be fixed first.

Also, if I understand you correctly, kerning should also be applied
for the case (emDiff < -33000), and text decoration position as well
as the rx and word width should be compensated for the kerning.

But..., that's only half of the solution! The first case ("<word-character><space>") is more difficult.

Not really: keep the text of the last rendered word in lastWord or something and add the kerning correction to the current rx respective the space. The lastWord must be cleared if something special like an image is rendered in between.

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to