>
> > Swing, for the reason Vincent pointed out, calls "stringWidth()" rather
> > than "getStringBounds()".
>
> If it's as easy as calling a different method depending on VM version,
> why can't you guys just put a conditional compile statement in there.
> The Swing people have admitted they do this already (for Graphics2D,etc)
> ...
>
Its not quite that simple, since getStringBounds() needs to know the G2D
It is believed that Swing's metrics calculations are structured in a way that
assumes the metrics are not affected by anything. This would probably
require significant changes in Swing, possibly with some performance impact.
The Swing team will look into how they should handle this, but its not
going to make a release this year, so the recommendation is not to use A-A text.
-Phil.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/