Skip to content
July 1, 2011 / Nathan

Ubuntu font rendering on Debian Wheezy & Sid

The one thing which always kept me from using Debian was the horrific font rendering on LCD screens which has plagued it since it was born. I’ve always liked the way Ubuntu renders fonts, so now Debian has pretty much the same libcairo2 package by default, making the fonts render like Ubuntu’s is pretty easy.

First thing to do is grab Ubuntu’s fonconfig-config package from any of the mirrors here: http://packages.ubuntu.com/natty/all/fontconfig-config/download and save it somewhere. Now open the .deb file with Archive Manager (file-roller) as root and enter the /etc/fonts directory within the archive. Next, open nautilus as root (Alt + F2, gksudo nautilus) and brows to /etc/fonts on your Debian file system.

Next step is mega easy, just drag all the files and folders from the archive into the file browser, replacing all files which already exist.

Log out and back in, and change font preferences so they looks something like this:

Font configuration

Once this is done, fonts should be Ubuntu pretty!

NOTE: It works fantastically well with Ubuntu fonts! ;)

Advertisement

6 Comments

Leave a Comment
  1. me / Jul 19 2011 11:01 PM

    Thanks so much. It worked just fine! I don’t know if it has something to do also with me having installed the iceweasel com mozilla repository, which, I read, would update libcairo.

    Fonts now look a lot better

    Thanks, man!

    • Nathan / Jul 20 2011 1:55 AM

      Copying these files into /etc/fonts works with the default libcairo which comes with wheezy now =]

  2. Lisandro Pérez Meyer (@lisandropm) / Aug 15 2011 3:19 PM

    The correct way to solve this would be to file a bug in Debian’s BTS telling the packagers that there are differences that you would like to see in Debian’s packages.

    For what I have saw, the differences are some small XML files, so I don’t think there would be much of a problem in fixing it.

    Regards, Lisandro.

  3. rafaeltosta / Sep 19 2011 6:31 PM

    This is the easiest way to enable smooth fonts on Debian. Works flawlessly! thank you very, very much.

  4. Paul Bourke (@brk3) / Oct 11 2011 4:31 PM

    Works 100% thanks a million :)

  5. royzzblogs / Jan 28 2012 11:13 AM

    It worked like a charm! Thanks a ton!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.