Thursday, February 5, 2009

Antialiased fonts in Idea on Linux

I was switching my dev environment from MacBookPro to a proper Ubuntu server - performance improvement is enormous (see next post for more).

There was one small problem that just drove me crazy: Idea has not used font antialiasing. Not only has it looked ugly, but more importantly less legible.

I thought it is some system-specific or VNC-related problem. Googling did not help me much.

A quick look at bin/idea.properties file revealed this gem:
# Use default antialiasing in system, i.e. override value of "Settings|Editor|Appearance|Use antialiased font"
# option. May be useful when using Windows Remote Desktop Connection for instance.
#----------------------------------------------------------------------
idea.use.default.antialiasing.in.editor=false


<edit>
Actually, my post has apparently caused more confusion then good - changing the setting above to true is not the way to fix the font unless your java antialiases fonts by default.
To make things straight:
Don't change the bin/idea.properties.
Tick the "Settings|Editor|Appearance|Use antialiased font" option instead.
</edit>

0 comments:

Post a Comment