Firefox 4: fonts

BigAl-sa

Executive Member
Joined
Dec 26, 2006
Messages
6,652
Note: This is for Linux users.
As I mentioned in the Firefox 4 links thread, the fonts in Firefox 4 on my netbook looked horrible, so I went back to 3.6.16. However, the difference in speed is *really* noticeable, so I had to find a fix. It would appear that FF ignores the system fonts settings in Gnome. What works is to create a .fonts.conf in your home directory containing the following:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</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>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

I've got really spiffy looking fonts now - I'll just have to see if any other apps break :)
 

sand_man

Honorary Master
Joined
Jun 4, 2005
Messages
35,844
Note: This is for Linux users.

I've got really spiffy looking fonts now - I'll just have to see if any other apps break :)
Not a Linux user so don't murder me but doesn't the theme font and size changer work in Linux?
 

adrianx

Expert Member
Joined
Jun 30, 2008
Messages
3,761
Not a Linux user so don't murder me but doesn't the theme font and size changer work in Linux?
It works, but some applications don't play nicely with it. There is usually a workaround for those few that don't.
 

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
92,823
Don't use FF but I just opened FF4 and the fonts in Chromium are better.

I just tried FF4 it with your .fonts.conf file and it's even worse!
 

BigAl-sa

Executive Member
Joined
Dec 26, 2006
Messages
6,652
Surely you want to use this though...??

The problem is not with the size or face, but rather the rendering and the hinting of the font by FF. There are as many font related complaints for Windows as for Gnome, but the Windows problems seem to be related to the hardware acceleration.
 
Top