Font smoothing in OpenSUSE 11.2

I have switched to OpenSUSE 11.2 recently. Although, I’ve enabled anti-aliasing option from System Settings panel, I notice that fonts aren’t displayed smoothly and they are ugly.Two days ago, I found the solution for this problem. It is easy just upgrade the freetype2 packages to use subpixel hinting feature. The subpixel hinting implementation in freetype2 is disabled both upstream (by the freetype2 authors) and in the freetype2 RPM packages that ship with openSUSE because it might infringe Microsoft’s ClearType patents.

Now go to Configure Desktop > Appearance > Fonts
*  enable the checkbox „Use anti-aliasing for fonts“
* click on the „Configure“ button next to the above mentioned checkbox

After log out and log in again, you will notice that KDE will display fonts smoothly. Unfortunately, GTK Application like Firefox will still display fonts ugly. Follow this steps to enable subpixel rendering for GTK apps in KDE:
1- Upgrade cairo package by install this version.
2- Open Kwrite in Super user mode by press alt+f2 and type: kdesu kwrite then enter, will ask you for root password.
3-copy the following contents :-

<?xml version=“1.0″?>
<!DOCTYPE fontconfig SYSTEM „fonts.dtd“>
<!– Enable freetype’s new subpixel filter. Currently, only a cairo
version containing the patches from freedesktop #10301 respects this
setting. –>
<match target=“font“>
<edit mode=“assign“ name=“lcdfilter“>

then save the file as 10-lcd-filter.conf in /etc/fonts/conf.avail.
4. Create a file ~/.Xresources in your /home directory and paste the following contents:-

Xft.lcdfilter: lcddefault

5. Log out and login again.

That’s all and if you feel I have missed some important tips regarding this topic, please share them with us!!