Thursday, July 14, 2005

TrueType and Mozilla

Downloaded and installed that latest version of Mozilla? You may need to tweak some settings - if you create a new profile, these steps would have to be repeated

  1. In the location bar, type about:config
  2. In the filter bar that appears, type font
  3. Locate the line "font.FreeType2.enable". If the value here is false, change it to true
  4. Edit the /default/firefox.js or /default/unix.js and add a line for each directory with TrueType/OpenType fonts like this:
    pref("font.directory.truetype.1", "/usr/local/share/fonts/TrueType");
    pref("font.directory.truetype.2", "/usr/share/fonts/TrueType");

Now hopefully mozilla will render fonts better. If not, check this page for anything I may have missed out.