How to fix font rendering of Firefox 3.5 under Ubuntu 9.04

The problem is that Firefox 3.5 doesn't seem to use font hinting and therefore looks ugly while the default version (3.0) is OK.

After some googling I found out that 3.5 doesn't use GNOME font settings and relies on fontconfig.

Font configuration is stored in /etc/fonts/conf.d/[0-9][0-9]*.conf files. By convention, config files starting with 10 through 19 control font rendering (see /etc/fonts/conf.d/README) and, in fact, are symlinks to the corresponding files in the /etc/fonts/conf.avail directory.

My experiments have shown that it is enough to disable the 10-hinting-slight.conf symlink by removing or just renaming it:

  sudo mv /etc/fonts/conf.d/10-hinting-slight.conf{,.disabled}
  sudo dpkg-reconfigure fontconfig

Source: http://www.timka.org/tech/2009/05/02/firefox-3.5-in-jaunty/

Discussion

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.
 
blog/how_to_fix_font_rendering_of_firefox_3.5_under_ubuntu_9.04.txt · Last modified: 2009/10/10 09:42 by brb
Back to top
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0