[xmonad] Problem with anti-aliased fonts in Java/Swing applications

Christophe Garion tofgarion+xmonad at runbox.com
Wed Jan 19 17:42:57 CET 2011


Hello,

I have a problem with xmonad under Debian with no particular config (no
Config.Gnome etc.): in every Swing application, fonts are not
anti-aliased, which is ugly.

If I add the -Dawt.useSystemAAFontSettings=on option when I start a jvm,
fonts are anti-aliased. There is no global property file in Oracle jdk
to configure this (notice that the problem is the same for openjdk). I
can use the _JAVA_OPTIONS environment variable to set this option, but
it adds comments in the console every time I launch a java application,
which I do not want. There is no problem with GTK applications.

If I start a gnome-session from xmonad, fonts in swing applications are
correctly anti-aliased.

Is there a way to correct this problem?

Sorry if an answer has already been provided, but I did not find any
searching the web and Xmonad website.

Thanks in advance,

Christophe

-- 
Christophe Garion          ISAE/DMIA - SUPAERO/IN
garion at isae.fr             10 avenue Edouard Belin
Tél : (33)5 61 33 80 57    BP 54032
Fax : (33)5 61 33 83 45    31055 Toulouse Cedex 4



More information about the xmonad mailing list