Just for fun, you could get the GlyphVector and tweak character position
to adjust kerning. (I've done that to implement tracking for an entire
line of text, much like the tracking adjustment in Photoshop). From what
I've read, rendering a GlyphVector is the fastest way to draw text.

David

Doug Felt wrote:

At 02:06 PM 2/14/2003, John Smith wrote:

I am wondering if JVM's rendering engine implements the kern tracking
mechanism in  true type font?


No, but we've thought about it.  A lot of text code fast-paths the
rendering/measuring process for Latin-1 by assuming character advances
are
independent of context.  Kerning breaks this, but some people want
kerning
for better quality output.  It would take some work to avoid impacting
text
rendering performance, which is why this has stayed on the back burner.

There might be a bug filed on this, if so, vote for it, otherwise, please
add one if you have a need for kerning.

Doug

===========================================================================

To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff JAVA2D-INTEREST".  For general help, send
email to
[EMAIL PROTECTED] and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to