Jan 26, 2010

Pretty fonts in Linux

After two weeks of research and experimentation, finally arrived at the settings that stop Eclipse from making you want to gouge your eyes out.

This goes into ~/.Xdefaults:

Xft.dpi: 76 #84 for 27" iMac
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.rgba: rgb

And this is what's installed (in that order):

drwxr-xr-x 2 root root 4096 Jan 15 11:26 pkgconfig-0.23-1
drwxr-xr-x 2 root root 4096 Jan 15 12:00 freetype2-ubuntu-2.3.11-2
drwxr-xr-x 2 root root 4096 Jan 15 12:02 fontconfig-ubuntu-2.6.0-8
drwxr-xr-x 2 root root 4096 Jan 15 12:29 libxft-ubuntu-2.1.14-2
drwxr-xr-x 2 root root 4096 Jan 15 13:05 cairo-ubuntu-1.8.8-1
drwxr-xr-x 2 root root 4096 Jan 18 10:13 ttf-inconsolata-20090215-1
drwxr-xr-x 2 root root 4096 Jan 18 10:15 ttf-bitstream-vera-1.10-6
drwxr-xr-x 2 root root 4096 Jan 25 22:06 ttf-dejavu-2.30-1

And this is why we like to use Macs.

By the way, the .Xdefaults bit above also helps with X11 on the Mac (yay for wireshark).