Debian is great operating system, but lets face it: fonts are ugly on any Linux distribution except Ubuntu. That's OK if you ask me. Why? When I hear word "Debian" my first association is reliable server environment, and I guess you don't need fine tuned font smoothing on white on black terminal. What if you really like having Debian on your desktop, and you also like having normal eyesight? Debian user Hadret who describes him self as "Atheist, Debian GNU/Linux user and a philologist to be" has Ubuntu patched versions of libxft2 and libcairo2 - the libraries that control how fonts are looking, in his Debian repository. All you need to do to fix you Debian font situation is to add his Debian repository to your sources list and do regular apt-get update procedure. Here are the necessary commands to do all of that:
su echo "deb http://hadret.rootnode.net/debian/ unstable main" | tee -a /etc/apt/sources.list echo "deb-src http://hadret.rootnode.net/debian/ unstable main" | tee -a /etc/apt/sources.list wget -O - http://hadret.rootnode.net/debian/duckbill.key | apt-key add - apt-get update apt-get dist-upgrade |
After you restart you PC you fonts should look much better than before and you should also feel much better about using great Debian operating system.
Use Infinality’s patches, to make fonts look even better than in Ubuntu.
http://www.infinality.net/blog/
http://forums.gentoo.org/viewtopic-t-723341.html (huge thread in 2 parts)
@Paul Bredbury
Thanks Paul. This looks really interesting. I’ll give it a try. Never could understood why Fedora, Debian and other distro developers do not take some time to deal with fonts. At least copy Ubuntu way of rendering fonts.
Thanks for this how-to. But I could not upgrade libcairo2.
Calculating upgrade… Done
The following packages have been kept back:
libcairo2
The following packages will be upgraded:
apt apt-listchanges apt-utils dpkg gdm3 gnome-settings-daemon klibc-utils
libburn4 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit7
libkadm5srv-mit7 libkdb5-4 libklibc libkrb5-3 libkrb5support0 libldap-2.4-2
libmms0 libqt4-dbus libqt4-designer libqt4-network libqt4-opengl
libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
libqtcore4 libqtgui4 libsmbclient libwbclient0 python-apt python-apt-common
qt4-qtconfig
35 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
In synaptic:
libcairo2:
Depends: libpixman-1-0 (>=0.18.0) but 0.16.4-1 is to be installed
@Janx
Hi Janix, it looks like Hadret PPA is now in somewhat broken state. I will “ask around” but it looks like Hadret needs to backport libpixman >=0.18.0 version because libcairo2 depends on it, but he didn’t do that. That left his repository broken. Will inform you of my findings…
@Marko
Hi, I was able to upgrade libcairo2 using the mozilla backports. But imo the fonts look the same.
Please also see this thread:
http://forums.debian.net/viewtopic.php?f=20&t=53412&sid=27a49bd1439b367c9e0dcc33fc30a9ba&start=15
@Janx
Hi thanks for update. I think that libpixman needs to be patched along with other libraries. That could be why you don’t see an improvement?
Hi! I Don’t find anything for fonts like libcairo2 etc in this repository. Do you know where it? Anybody can upload it?
Unfortunately, hadret’s repositories don’t exist anymore. I really wanted to use this! But thanks for putting this up.
Yes, unfortunately. But lately I’ve been using font related packages from SolusOS on my Debian Squeeze box, it works really nice.