Ubuntu Linux has an option for font smoothing that isn’t turned on by default for some strange reason. This makes fonts significantly smoother, enough to be very noticable.

To enable this option, you need to edit the .fonts.conf file in your home directory. To create and open the file, run this command and paste in the xml data below it.

gedit ~/.fonts.conf

Paste in this text:

<?xml version=”1.0″ ?>
<!DOCTYPE fontconfig SYSTEM “fonts.dtd”>
<match target=”font”>
<edit name=”autohint” mode=”assign”>

You’ll have to log out and back in to see the difference.

Here’s an image of the before:

And here’s an image of the after:

Definitely looks smoother, and is much more readable on my laptop screen.

Tested on: Ubuntu Dapper and Ubuntu Edgy.

Update: Some angry people on digg have pointed out that the original source for this was this Ubuntu Forums post. While I didn’t find it there, I’m going to link back to it, just to be fair.

Profile Photo for Lowell Heddings Lowell Heddings
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work.
Read Full Bio »