firefox aliased/jagged fonts in xfce

I've been using linux mint 7 for a couple of weeks now and I'm pretty happy with it, but I wanted to try out other desktops, e.g. KDE/Xfce

I'm not sure if it's KDE's fault of Xfce's, but firefox's font rendering sucks now, it renders jagged/aliased fonts.

I'm using xfce right now,

My Xfce settings Manager > appearance > fonts settings roughly look like this:

Default Font:

     Sans | 9  

Rendring :

 [x] Enable anti-aliasing  

           Hinting: None  
   Sub-pixel Order: None  

But it's as if firefox ignores these settings!


Solution 1:

Try editing your .fonts.conf file under your home directory (~/.fonts.conf).

This works well for me:

 <?xml version='1.0'?>
 <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
 <fontconfig>
  <match target="font" >
   <edit mode="assign" name="hinting">
    <bool>false</bool>
   </edit>
  </match>
 </fontconfig>