How to Get Smooth Fonts in Ubuntu

Posted By Chinmoy Kanjilal On September 2, 2009 @ 9:05 am In Open Source Software | No Comments

Fonts is an area which needs a lot of improvement in Linux. With the lack of good fonts, Linux applications and softwares always lack that smooth looking competition from the Windows GUI. Most of the fonts available by default on Ubuntu are just barely enough to work with and the others which we can install manually, lack the crisp and sharp font effect we get on windows.

Ubuntu

Ubuntu

I had covered installing fonts on Linux [1] earlier. Now,  you might also like to add font smoothing to the fonts you install. This will improve the visual aspects of your Ubuntu installations remarkably.

To enable font smoothing for true type fonts,

  1. Go to your home directory.
  2. Press ctrl+h. This will enable showing hidden files.
  3. Lookup the  .fonts.conf file.
  4. Edit the file to make it look like this
  5. <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font">
    <edit name="autohint" mode="assign">
    <bool>true</bool>
    </edit>
    </match>
    </fontconfig>

That is all. Now logout and log back in. Your font should be smoother than before. To test this check the font rendering of a white text against a black background.

For more details, see original Ubuntu forums discussions here [2].


Article printed from Techie Buzz: http://techie-buzz.com

URL to article: http://techie-buzz.com/foss/how-to-smooth-fonts-in-ubuntu-linux.html

URLs in this post:

[1] installing fonts on Linux: http://techie-buzz.com/linux-tips/installing-fonts-on-linux-made-easy.html

[2] here: http://ubuntuforums.org/showthread.php?p=16896

Copyright © 2006-20011 Techie Buzz. All rights reserved.