Solved the Gnome Firefox Font issue... but

Hi there,

I recently installed OpenSuse 11.3 but the Firefox font was way too ugly.

To solve it, I tried this tip: either delete the .fonts.conf file from the home folder, or delete one entry from this file.

The file is:

<?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=“antialias” >
<bool>true</bool>
</edit>
</match>
</fontconfig>

Now, if you delete the antialias entry, the files becomes:

<?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>
</fontconfig>

Save it and restart Firefox. You will notice that the Font is much better (check the letter ‘a’ in the word Bookmarks in the Firefox menu). Desktop font are also much better!

Please check out these screenshots:

Bad:
http://img402.imageshack.us/img402/866/bad.png

Good:
http://img165.imageshack.us/img165/6512/goodt.png

But another issue popped out: bigger fonts are now crappy (when I removed the antialias entry or the entire fonts.conf file).

What do you think this issue is? and how to solve it? I thought that I have solved the Firefox font issue, but a new issue came out as a result.

Thank you.

I prefer the bad! Really I do.

Me too, the Bad ones are pretty because of the AA and the “Good” ones are ugly. Quadrature of the wheel?

walid97 wrote:

> I recently installed OpenSuse 11.3 but the Firefox font was way too
> ugly.

You meant openSUSE 11.1, right? :slight_smile:

> To solve it, I tried this tip: either delete the .fonts.conf file from
> the home folder, or delete one entry from this file.

Latest versions of openSUSE (as I recall from 10.3) doesn’t need these kind
of hacks so far. You can disable “antialias” directly from Control center
(at least from gnome as well as kde).

So basically, the only thing you have to do is:

  1. Disable antialising from control center
  2. Select the desired font face and font size for apps.

And that’s all. Any app should honor that setting.

So I suggest you to restore the original ~/.fonts.conf file and proceed that
way (by adjusting control center’s settings) and see what happens.

(…)

> Save it and restart Firefox. You will notice that the Font is much
> better (check the letter ‘a’ in the word Bookmarks in the Firefox menu).
> Desktop font are also much better!
>
> Please check out these screenshots:
>
> Bad:
> [image: http://img402.imageshack.us/img402/866/bad.png]
>
> Good:
> [image: http://img165.imageshack.us/img165/6512/goodt.png]

Oh, yes. The “god” image looks better for me, too :wink:

> But another issue popped out: bigger fonts are now crappy (when I
> removed the antialias entry or the entire fonts.conf file).
>
> What do you think this issue is? and how to solve it? I thought that I
> have solved the Firefox font issue, but a new issue came out as a
> result.

Well, adjusting this is quite easy under KDE’s control center, but I have
not seen any place to configure this under Gnome’s control center.

Let’s say you want all fonts smaller than <18 pt keep anti-aliasing off but
fonts bigger than >18 pt get antialiased. In KDE you can choose a “size
range” to set up this, but under Gnome I have not found its counterpart :-?

Greetings,


Camaleón

I think the “bad” one is cool. It looks smooth!

This has been going on for years with all LINUX distributions (KDE and Gnome). Personally the Cleartype fonts look fuzzy and strain my eyes since the fonts are blurry on purpose and my eyes look for edges and borders for feedback that things are focused. Its always a pain to google how to turn off the rendering “features” and recompile the truetype rendering and setting the bytecode thing. Then firefox always requires an extra hack. Its just one of those dumb things about LINUX distributions that never gets addressed in a consistent and intuitive way… partly because of patent issues and partly because Linux community is addressing bigger issues. Hopefully not because fuzzy fonts are the way of the future (Microsoft has gone that direction).