geek and proud archives |
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! |
||||
|
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!
🙂
You’d expect them to at least update the file; sheesh.
Fonts are still a big issue in Ubuntu.
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.