Friday, March 6, 2009

QT4 antialiasing problem in Debian

Once I installed Skype on Debian linux, the font was not antialised.
I googled around and it seems that Debian by default doesn't antialias the font system wide.

Here is hot to get around the problem:

sudo vi /etc/fonts/conf.avail/10-antialias.conf

and add the following:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use anti-aliasing -->
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
</fontconfig>

Then link it to /etc/fonts/conf.d/

/etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/10-antialias.conf


No comments: