Comment 145 for bug 67226

Revision history for this message
jpfle (jpfle) wrote : Re: [jaunty] Firefox 3.5 and openoffice do not stick to antialiasing render settings

Today I updated from Ubuntu 9.04 to Ubuntu 9.10 Beta, and I add this bug (blurry font) with Firefox 3.5.3.

I read this discussion:

http://ubuntuforums.org/showthread.php?t=1128929

There are some workarounds listed. Mine has been to create a file ~/.fonts.conf and put on it:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="lcdfilter" >
   <const>lcdnone</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

Then restart Firefox. I use "Best Shapes" in my Gnome font preferences.