[OpenJDK 2D-Dev] Font question

Phil Race Phil.Race at Sun.COM
Thu Apr 17 19:46:39 UTC 2008


Yeah .. Swing is turning it on by picking up the desktop settings.

See 
http://java.sun.com/javase/6/docs/api/java/awt/Toolkit.html#getDesktopProperty(java.lang.String)

and the link to "AWT Desktop Properties".

-phil.

Roman Kennke wrote:
> Hi Phil,
> 
>>> Anti-aliasing is on by default for the X11 pipeline, right? I wonder,
>>> because I find this code in X11SurfaceData.validatePipe():
>> No. Its not on anywhere by default.
> 
> Oh? So it must be swing turning it on, because when I startup a Swing
> app, I clearly get AA text. But not with my pipeline. Hmm. Gotta do some
> more research :-)
> 
> /Roman



More information about the 2d-dev mailing list