Set a world record on June 17th… Google testing new “Google News”
Jun 17

Since its Alphas, I’ve been comparing font rendering in official Firefox 3.0 Linux builds and the ones I used to compile myself. Fonts in the official builds were, and still are, very crudely rendered. Upon reading a little, I learned that this difference is due to the use of different version of Cairo, a graphics library that Firefox uses under the hood.

Using --enable-system-cairo option when building Firefox greatly improves the look of fonts. I used to compile my own nightly builds using this option, hoping that the official builds will move to using that option too, before the final 3.0 release.

I just tried the final release and found that it still does not use --enable-system-cairo option, and the fonts are still not neat.

Thankfully, I also noticed that Ubuntu’s Firefox 3.0 - that got updated today as well, does use --enable-system-cairo option. Now I don’t have to compile my own builds. I wish I had noticed this the first time I installed Hardy - the Firefox 3.0 beta that came with it probably used system Cairo too. But I am glad I noticed this, better late than never.

Here are a couple of screenshots that illustrate the difference:

Firefox fonts with and without system cairo - Click for full size

Click on the image to view full size - The one on top is the Ubuntu build, using --enable-system-cairo option. The one a the bottom is the official Firefox build, not using that option. Notice how the fonts in the Ubuntu build are so much better than the fonts in the official Firefox build

Now, go download Firefox 3.0 while it’s hot. You don’t get to set a world record everyday!

2 Responses to “Firefox 3.0 on Linux and cairo version”

  1. me Says:

    The difference between the two pics is that the top one is antialiased. I thought you were kidding when saying that you prefered THAT to the crispy and clean non AA version. I spend a lot of time reading documents on my computer, and absolutely hate blurred fonts. Actually, I only found this entry while looking for ways to disable it forever.

  2. Mahesh Says:

    I am not surprised. In fact, I also prefer ‘crispy and clean non-AA version’ on my laptop - it has a much better display than my desktop. May be it’s the not-so-fancy display on my desktop that the crisp fonts don’t appear so attractive. Hence I have to turn to anti-aliasing.

Leave a Reply