Fix GNOME Smooth Font Issue in FireFox/IceWeasel

Again after moving in with GNOME and set my system fonts which went cool, my Firefox still looked messy 🙁 But the below tweak is gonna fix it 🙂

  • Create this or edit ~/.fonts.conf and add this to it
   <match target="font" >
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
      <edit name="hinting" mode="assign"><bool>true</bool></edit>
      <edit name="antialias" mode="assign"><bool>true</bool></edit>
      <edit name="autohint" mode="assign"><bool>false</bool></edit>
      <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
  • Create ~/.Xresources and add
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintslight
  • Now run
    xrdb -merge ~/Xresource

Restart Firefox 🙂