How to Get Smooth Fonts in Ubuntu

by Chinmoy Kanjilal | Translate | Print
Wednesday, 02nd Sep 2009 | Share




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 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.

Liked this post? Have a Question? Comment and share your opinions and views with us

Get Regular Updates. Subscribe to Free RSS Feeds or Email Updates. Click to expand subscription options

No Responses so far | Leave Your Comments

Comments are moderated. Please try and stay on topic. Please do not use abusive language, if you think there is a problem, please email the post author or use the contact us form to tell us about it.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>