On Fri, 2006-03-31 at 15:55 +0200, Roman Kennke wrote:
> However, you can turn on font-antialiasing using the
> RenderingHints class. It's a bit tricky to do this application wide
> though... (on the downside, I think classpath ignores the
> RenderingHints altogether). 

Ironically this is how I have seen a couple of applications fail. The
only reason they try casting to a Graphics2D object in their paint()
method is to set the RenderingHints to get anti-aliasing. Such
applications do work with the --enable-gtk-cairo
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D trick since then we accept
the cast and just ignore the hint :)

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to