MozillaZine

Completely disable font anti-aliasing in Linux

User Help for Mozilla Firefox
Guest
Guest
 

Post Posted March 16th, 2006, 3:53 pm

The anti-aliased font appeared ugly to me, and I wanted that feature off.

SYS: Firefox 1.5.0.1, Redhat, KDE

I switched the anti-aliasing off for system fonts by Start->Control center->Appearance and Themes->Fonts.
That worked well for everything else but not firefox.

In about:config, I set font.antialias.min to 50, no luck. font.freetype2.enable was false(default).

Can anyone help me not have this anti-aliasing?

logan

User avatar
 
Posts: 3453
Joined: May 22nd, 2003, 3:51 pm
Location: NGC 2403

Post Posted March 16th, 2006, 4:11 pm

~/.fonts.conf
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>false</bool>
    </edit>
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>
  </match>
</fontconfig>

You could also force a specific unaliased font for everything (chrome) in ~/.gtkrc-2.0:
Code: Select all
gtk-font-name = "Helvetica 9"

but you'd still need to override document fonts with unaliased fonts for content.

Return to Firefox Support


Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests