This is the web log of Tim Bennett, web designer. He also runs Texelate, offering the best web design Leeds, Yorkshire has to offer

Get smoother anti-aliasing on Ubuntu

Thursday, May 17th, 2007 at 8:34 am

Even if you tweak the font settings in Ubuntu some text still looks a little jaggy compared to OS X. You can make your fonts smoother though like this:

Go to your home directory and open up the file .fonts.conf (it’s a hidden file; if you can’t see it choose View < Show Hidden Files in Nautilus). Replace the current contents with:

<?xml version=”1.0″?>

<!DOCTYPE fontconfig SYSTEM “fonts.dtd”>


    <match target=”font”>

        <edit name=”autohint” mode=”assign”>





Save the file; the fonts will change once you restart the X server, log out and back in again or restart.

One Response to “Get smoother anti-aliasing on Ubuntu”

  1. Dub says:

    Ah, my Ubuntu machine looks great now. :D

Leave a Reply

You must be logged in to post a comment. If you don't have an account register one now.

Do you need a website or web-related service?
I run an award-winning web design studio.