Home » Questions » Computers [ Ask a new question ]

Bad font anti-aliasing in Ubuntu

Bad font anti-aliasing in Ubuntu

I'm switching from Fedora 8 to Ubuntu 9.04, and I can't seem to get it to get a good font anti-aliasing to work. It seems that Ubuntu's fontconfig tries to keep characters in integral pixel widths. This makes text more difficult to read, when 1 pixel is too thin and 2 pixels is too thick.

Asked by: Guest | Views: 339
Total answers/comments: 2
Guest [Entry]

"There is an old trick to make fonts smoother on Ubuntu (and pretty much every distro running Gnome):

Open up .fonts.conf under your home directory (~/.fonts.conf) and paste this in:

<?xml version=""1.0"" ?>
<!DOCTYPE fontconfig SYSTEM ""fonts.dtd"">
<fontconfig>
<match target=""font"">
<edit name=""autohint"" mode=""assign"">
<bool>true</bool>
</edit>
</match>
</fontconfig>

Before:

After:"
Guest [Entry]

"The latest versions of Ubuntu allows changing these settings via Preferences > Appearance > Fonts > Details

I find Medium hinting to be the most pleasing on my LCD screen."