| blog |
Friday, April 27, 2007
Fixing Fonts on Ubuntu Edgy/Feisty Upgrade

A while ago, I upgraded all my Ubuntu installs to Edgy. My laptop still seemed fine, but the fonts on my other machines (work, desktop) were messed up. I searched for a bit, and then just gave up and dealt with it. I upgraded recently to Feisty, and it didn’t fix the problem, so I searched the web some more. Finally, I was able to find the solution, so hopefully by posting it here, other people will be able to find it quickly. Good title, and Google pagerank. 🙂

The solution is to edit /etc/X11/xorg.conf and change:

Section “Files”
    FontPath “/usr/share/X11/fonts/misc”
    FontPath “/usr/share/X11/fonts/cyrillic”
    FontPath “/usr/share/X11/fonts/100dpi/:unscaled”
    FontPath “/usr/share/X11/fonts/75dpi/:unscaled”
    FontPath “/usr/share/X11/fonts/Type1”
    FontPath “/usr/share/X11/fonts/100dpi”
    FontPath “/usr/share/X11/fonts/75dpi”
    # path to defoma fonts
    FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

into

Section “Files”
    FontPath “/usr/share/fonts/X11/misc”
    FontPath “/usr/share/fonts/X11/cyrillic”
    FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
    FontPath “/usr/share/fonts/X11/75dpi/:unscaled”
    FontPath “/usr/share/fonts/X11/Type1”
    FontPath “/usr/share/fonts/X11/100dpi”
    FontPath “/usr/share/fonts/X11/75dpi”
    # path to defoma fonts
    FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

The order of “X11” and “fonts” in the paths has changed. That’s it!

ShareTweet about this on TwitterShare on Google+Share on FacebookEmail this to someone
Posted by alan to geek at 11:37 am PT | Link | Comments (4)

RSS feed

4 Comments »

Comment by MrsVeteran
2007-04-28 09:51:28

Argh. Thanks for posting this, but you know, this is the kind of thing that seriously pisses me off about Linux: changing things for what appears to be no good reason. I mean — WTF? What does it matter if it’s /fonts/X11 or X11/fonts?

Bad Ubuntu! No cookie!

🙂

 
Comment by Nuances
2007-05-05 14:36:26

You’d expect them to at least update the file; sheesh.

 
Comment by portait
2007-05-08 23:08:20

Fonts are still a big issue in Ubuntu.

 
Comment by limdz
2007-06-13 23:04:32

The very big problem here is that the user cannot see the font even in gedit. So the user cannot change the section easily. So, my friend suggest me to send it to someone and ask somebody to edit it for you instead. It is easier a lot that way.

Btw, visit my blog @ light12.wordpress.com and giv some comment. Thanks.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

All content Copyright © 2002-2009 Alan Penner
Powered byWordPress, Penner Hosting and Superb Internet
Some Rights Reserved
penner42
Redistribution is permitted under the terms of
this Creative Commons License