Archive

Posts Tagged ‘Fonts’

Firefox 3.0 on Linux and cairo version

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!