Home > java, linux, rants, unix > Turning AntiAliasing on for Java Applications in X11

Turning AntiAliasing on for Java Applications in X11

I’ve always been disgusted with how Java Application fonts look under X11. Been using quite a lot of IDEs lately and have found myself always going back to either Mac OS X or even Windows because my eyes could just not bear the uglyness of the fonts for more than 30 seconds. No good looking, crispy fonts? I’m outta there.
Thanks to this post by Hedayat and knowing I can turn on AntiAliasing by putting this into my environment

export _JAVA_OPTIONS=”-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true”

developing in Java IDEs under Linux has become a lot more attractive.

EDIT: If your UI fonts in IntelliJ Idea still suck – switching to the GTK+ Look And Feel under Settings/Appearance/UI Options fixed that for me. Fonts look gorgeous now – and makes the whole application blend in much better with the rest of the system, anyway.

Advertisements
Categories: java, linux, rants, unix Tags: , ,
  1. February 26, 2010 at 12:42 pm

    Glad to hear that it helped someone else 🙂

  2. Gordon Schulz
    February 26, 2010 at 1:05 pm

    It certainly did. Thanks. 🙂

  3. francuz
    May 12, 2011 at 12:24 pm

    Thank for GTK+ trick. Worked for me

  4. Peter
    September 3, 2012 at 7:05 pm

    And for me! Many thanks!!

    • September 30, 2012 at 3:17 pm

      Glad this little tip worked so well for you. 🙂

  1. March 17, 2014 at 8:38 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: