Hi all,
This is a collection of my knowledge and experiences (and majority successful) at trying to enable subpixel hinting on Opensuse 11.0. The main problem areas are: KDE3 (QT3), KDE4 (QT4), Firefox 3 and Openoffice.org.
I use a KDE 3.5.9 on Thinkpad R61 and my preferred font is Tahoma 8 pt size. I have an Intel 945GM graphics card.
General Subpixel Hinting:
Install the freetype2 package from opensuse-commnity.org. Details are at :- SubpixelHinting - openSUSE-Community.
This will enable subpixel hinting for all Qt3 applications, but will not enable it for any applications that use the cairo package. For cairo packages we go the next one…
Firefox and Openoffice.org
Check out my screenshots at (Image Sharing) and (Image Sharing).
I have to give credit to 74141 and his excellent rpm at this thread :- Firefox 3.0.1: Enable Using Subpixel Hunting! - openSUSE Forums. This will enable subpixel hinting for FF3.
To enable subpixel hinting for Openoffice.org you need a subpixel-enabled cairo library. I had posted the following instructions at the Mandriva forums (Mandriva Forum >> Firefox 3 terrible fonts) and repeating them verbatim:-
To get the fonts, perform the following steps:-
-
Grab the Fonts.zip file from the following post:- FedoraForum.org - Ubuntu Hardy’s LCD sub-pixel font rendering in Fedora 9, they have RPMs for 32-bit and 64-bit systems as well.
-
Untar them to a folder, Fonts.zip, and open the console…login as root.
-
Remove the stock Opensuse RPMs:-
rpm -e cairo-* --nodeps
- Now to install the patched RPMs, navigate to the Fonts/i386 (or x86_64)
rpm -ivh cairo-*
-
Enable subpixel hinting through your GNOME or KDE desktop manager. I prefer some Microshaft fonts like Tahoma which give perfect rendering
-
Restart X
Subpixel Hinting for KDE4 (QT4)
You will need the freetype2 package installed first before proceeding. Please refer to my previous entry on “General Subpixel Hinting”
There was a bug in QT4 which detected subpixel hinting at build time and not at runtime. Now due to an official Opensuse policy this was disabled at build time and thus we all had rather bad font rendering when 11.0 came out. However, this was fixed after a bugzilla report was made.
You need to replace the stock qt4 rpms which have subpixel hinting at build time with the ones that detect subpixel hinting at run time. The Qt4.4 repo on the BS has these RPMs. (Subpixel hinting on KDE4-Available now! - openSUSE Forums)
Simply add the Qt4. repo and update your system with the following steps:-
-
zypper sa -r http://download.opensuse.org/repositories/KDE:/Qt44/openSUSE_11.0/KDE:Qt44.repo
-
zypper ref
-
zypper dup
This will install a bunch of qt-x11 and other rpms. Install the same and restart X. You should now have subpixel hinting
Some more screenshots of my desktop (laptop) with Qt4 and Qt3 apps:-
Mods, I would appreciate if you could make this into a sticky.
-Anshul