Category: How to... — UbuntuLinuxHelp @ 1:12 pm —

I received a message this morning from someone who installed Ubuntu as a new user. I sent him the download link a long time ago and he’s finally installed Dapper (on an older PC). He emailed me because his fonts looked fuzzy. He seemed a bit frazzled, but this fix worked for him so it might for you.

Some versions of Ubuntu do not have font smoothing enabled (Edgy, Dapper, etc… - I’ve not tried Hardy yet). To enable font smoothing, you need to edit (or create) the .fonts.conf file (which is in the home directory of your login account).

Because we’re in the GUI, just surf to your home folder and enable the viewing of hidden files. If you see .fonts.conf, open it for editing (or create it). I originally found this solution (because I had the same problem) on one of the Ubuntu Forums posts here: http://ubuntuforums.org/showthread.php?t=4456. It’s been in my bookmarks for some time now, so I don’t remember how far down the post was, sorry - But it’s a great read if you want to learn more! …you’ll find a ton of font smoothing tweaks there including TTF tweaks. If you’re looking to install TTF related fonts, try the following:

How to Install TTF and CTF Fonts in Ubuntu.
CrunchBang’s (CrunchBang.org): 465 Free Fonts for Ubuntu

Edit the file to look like this:

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

Log out and then back in and you should be good to go!

There are 4 comment(s) added so far...

#1

Beware of the smart quotes

Peter wrote on March 7, 2008 - 10:02 am
#2

@Peter - Sorry, you lost me? :) What does that mean? Thanks! :)

Roger wrote on March 7, 2008 - 10:08 am
#3

Your blog software formats double quotes to appear as double-backquote-words-double-forwardquote.

If one copypastes from this page into the fonts file you suggest, it won’t work, they’ll need to manually replace all the back and forward doublequotes with the real shift+key-next-to-enter quote.

Super Jamie wrote on May 27, 2008 - 1:56 am
#4

@Super Jamie - Thanks. :) Please can you clarify though? I’m a bit lost, I just type a doc using a TTF font and then copy pasted to another and there were no forward/backward quotes.
Obviously, I must be missing something? Also, what are “double-backquote” and “double forwardquote” - I just know of plain old quotes?
I’m missing something, aren’t I?
Thanks :)

UbuntuLinuxHelp wrote on May 27, 2008 - 7:51 am
You can leave a response, or trackback from your own site.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.