Menu Close

Mozilla font rendering fix

As a Ubuntu user you may notice Mozilla applications do not obey the Gnome appearance settings with respect to the font rendering.

To make these match your Gnome font rendering setting, simply erase the following file links in the /etc/fonts/conf.d folder

10-antialias.conf, 10-hinting.conf and 10-hinting-slight.conf.

In a terminal type,

cd /etc/fonts/conf.d

sudo rm 10-antialias.conf

sudo rm 10-hinting.conf

sudo rm 10-hinting-slight.conf

Restart Firefox for the changes to take effect.

As far as I am aware all mozilla apps, such as Thunderbird. This is a Ubuntu specific tweak, not Debian.

If you need to restore the symbolic links.

sudo ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/

sudo ln -s /etc/fonts/conf.avail/10-hinting.conf /etc/fonts/conf.d/

sudo ln -s /etc/fonts/conf.avail/10-hinting-slight.conf /etc/fonts/conf.d/

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Megan
Megan
12 years ago

I tried those commands but it say’s that those directories don’t exist. When I open Firefox or Thunderbird, the fonts are VERY garbled…IS there anything else I can do to fix this??

I’m using Ubuntu 11.10

tinuz
Admin
12 years ago
Reply to  Megan

Hello Megan, i just looked at the code and i think something is wrong in the code to remove the softlinks. Here are the softlinks you need to remove:

cd /etc/fonts/conf.d

sudo rm 10-antialias.conf

sudo rm 10-hinting.conf

sudo rm 10-hinting-slight.conf

I just tested the code and it all works now.

To restore the softlinks:

sudo ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/

sudo ln -s /etc/fonts/conf.avail/10-hinting.conf /etc/fonts/conf.d/

sudo ln -s /etc/fonts/conf.avail/10-hinting-slight.conf /etc/fonts/conf.d/

Thanks for noticing that the code was not working, i changed the code in the article for the right code.

linuxsapien
12 years ago

I know this works for a fact 🙂 from a default install that is (mint).. Its amazing how better the pages actually look. Mozilla’s rendering was far too fat!

tinuz
Admin
12 years ago
Reply to  linuxsapien

I had to give some support to your post and because of that i had to remove the softlinks to find the proper code for Ubuntu and i must say … it looks good!! The font rendering is fat indeed 🙂