This is good.
This morning I finished upgrading a Lenny installation to Squeeze. (For those of you who might know what's coming next, this installation had the plain old standard libcairo2 -- no patches of any sort.) So far things seem to be just fine. But it's Debian and so this is no big surprise. This is not why I'm writing this post.
The reason for writing this post is to let you know that indeed the rumors are true. Installing Iceweasel 5 from
http://mozilla.debian.net/ solves
three problems that have plagued lots of Linux users:
- Obsolete Iceweasel/Firefox.
- Ugly font rendering with official Firefox binaries.
- Ugly font rendering everywhere on the system.
You heard it right, folks. Installing Iceweasel 5 in Squeeze brings in a version of libcairo2 with all the yummy Ubuntu font rendering goodness. Like I said, this is good.
But there are a couple small gotchas:
Confusing instructions
The directions given at
http://mozilla.debian.net/ are complete, but the order in which the info is given is confusing. So here is what you need to do, in the order in which you need to do it.
- Add the following entry to /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
- Add the archive key to your apt keyring:
# wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import
- Import it into the APT keyring:
# gpg --export -a 06C4AE2A | sudo apt-key add -
- Update the repository database:
# apt-get update
- Install Iceweasel 5 with the following command:
# apt-get install -t squeeze-backports iceweasel
Configuring fonts
After I did the above, fonts were still not quite right. So I added the
~/.fonts.conf file posted
here here*. (Blogger,
please make it possible to post code with angled brackets!!)
I don't know which is the magic setting responsible for letting the fonts come out all pretty (I suspect lcdfilter), but I'm happy enough with the results now that I'll just be using the setup for a while. It's only a process of elimination to figure out which setting is the key, and once it's found it should be an easy matter to make these the system default so you don't need the
~/.fonts.conf file.
[update 2011-07-11: Changed sources.list addition to reflect changes at http://mozilla.debian.net/.]
*[update 2011-07-01: I added rgba settings for completeness.]