Hello,
I'm using the TextStroke class to draw text on a path. It does work
well, but it leaves too much space between glyphs, just enough to fit
another character. I tried to track the problem down, to no avail. 

It seems to me that this kind of thing is computed by the GlyphVector,
which is itself under the control of the FontRenderContext, through the
Font and the GlyphMetric. However, these classes are almost only
read-only.

TextStroke uses its own FontRenderContext. I tried to replace this one
from the one coming from the current Graphics2D, and it did slightly
improve the rendering, but the spacing between glyphs is still
identical. 

How can I solve this problem? I'm thinking that I'm looking for a way to
enable the LIGATURE mode in the GlyphMetric object.

Also, I can't use spaces in my text, any idea?
Best Regards,
-- 
David Garnier <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: PGP signature

Reply via email to