Subpixel Hinting for GTK and Qt apps

Subpixel Hinting for GTK and Qt apps
available for Mandriva 2009.1 and 2010.0

Better font rendering with sharp, crisp and crystal clear look to your desktop

Migliore resa dei caratteri con un aspetto piĆ¹ chiaro e cristallino del desktop





Text by Anshul Jane

Subpixel Hinting for GTK and Qt apps, now available courtesy MIB!!

Have you been wondering how good Ubuntu's font rendering is compared to Mandriva's? Have you been wanting to get a sharp, crisp and crystal clear look to your desktop? In our quest to enhance the look and feel for Mandriva, MIB now presents subpixel rendered cairo, xft and fontconfig packages.



Mandriva International Forum:
http://forum.mandriva.com/viewtopic.php?t=120572




ScreenShots: taken before and after the care



Gnome before the care





Gnome after the care






KDE before the care






KDE after the care







Intro about all necessary files and folders' paths:
written by NicCo

For each version there are all list.cz in /media_info folders to add like a repo:
for 2010.0 the procedure is pretty safe, for 2009.1 it's a little more delicate(*)

You could first download all nine rpm files into a local folder, and install with:
urpmi *.rpm

Mandriva 2010.0 64bit
http://mib.pianetalinux.org/MIB/2010.0/64/testing/subpixel_hinting_enabled_fonts

Mandriva 2010.0 32bit
http://mib.pianetalinux.org/MIB/2010.0/32/testing/subpixel_hinting_enabled_fonts

Mandriva 2010.0 /noarch webcorefonts for 32/64bit - Install all two rpms from Edumandriva repos
ftp://ftp.linuxcenter.ru/pub/Mandriva/EduMandriva/educontrib/2010.0/noarch/non-free/release/webcore-fonts-3.0-1edm2010.0.noarch.rpm
ftp://ftp.linuxcenter.ru/pub/Mandriva/EduMandriva/educontrib/2010.0/noarch/non-free/release/webcore-fonts-vista-3.0-1edm2010.0.noarch.rpm


Mandriva 2009.1 64bit

http://mib.pianetalinux.org/MIB/2009.1/x86_64/MIB-testing/subpixel_hinting_enabled_fonts

Mandriva 2009.1 32bit

http://mib.pianetalinux.org/MIB/2009.1/i686/MIB-testing/subpixel_hinting_enabled_fonts

Mandriva 2009.1 /noarch webcore fonts
for 32/64bit - Install all two rpms form Edumandriva repos
ftp://ftp.linuxcenter.ru/pub/Mandriva/EduMandriva/educontrib/2009.1/i586/non-free/release/webcore-fonts-3.0-1mdv2009.1.noarch.rpm
ftp://ftp.linuxcenter.ru/pub/Mandriva/EduMandriva/educontrib/2009.1/i586/non-free/release/webcore-fonts-vista-3.0-1mdv2009.1.noarch.rpm

(*) Warning! - In 2009.1 you might need to update X Server from Main/Updates. In this case you might also need to re-install nVidia proprietary driver, as it replaces parts of X Server code and after X Server updates nVidia's code will be replaced back by X Server's one.





Procedure on how to get clear font rendering:
written by Anshul Jain

Common for GNOME and KDE

1. Initialize the PLF repositories from http://easyurpmi.zarb.org
2. Install libfreetype6 from the PLF repository through this command:-
urpmi libfreetype6

You may also choose to upgrade your system (which is highly recommended) with the PLF repos using this command:-
urpmi --auto-update

3. Run the following command as root for your system (2009.1 and 2010.0 are supported for now)
urpmi http://mib.pianetalinux.org/MIB/exp-fonts-libs/cairo-1.8.8/2010.0-i686/libcairo2-1.8.8-69.1mib2010.0.i686.rpm http://mib.pianetalinux.org/MIB/exp-fonts-libs/fontconfig-2.7.3/2010.0-i686/fontconfig-2.7.3-69.1mib2010.0.i686.rpm http://mib.pianetalinux.org/MIB/exp-fonts-libs/fontconfig-2.7.3/2010.0-i686/libfontconfig1-2.7.3-69.1mib2010.0.i686.rpm http://mib.pianetalinux.org/MIB/exp-fonts-libs/libxft-2.1.13/2010.0-i686/libxft2-2.1.13-69.1mib2010.0.i686.rpm

If you use a x86_64 system, please replace i686 with x86_64. If you use 2009.1, replace 2010.0 with 2009.1.

4. Press OK, and allow the RPMs to be installed.

5. We recommend that you install the Microsoft Tahoma fonts (which are not free- so please use at your own risk). You can search it on Google with the following keywords :- "pclinuox webcore fonts". Or you can install them from EduMandriva repositories.

6. Open your favorite text editor and create a file called .Xresources in your home folder. Place the following contents in it:-

Xft.lcdfilter: lcddefault

Steps for KDE:
1. Go to Configure Desktop -> Fonts -> Use Anti-Aliasing -> Enabled -> Configure -> Use Subpixel Rendering -> Full/Medium (depending on your taste)
2. Choose Tahoma Fonts, 8pt size. Set the DPI to 96 if it is not the default value.

Steps for GNOME:

1. Right click on the desktop -> Fonts -> Choose Tahoma Font 8pt size -> Subpixel Smoothing (LCDs) -> Detail -> Hinting -> Full/Medium (depending on your taste)


Check out the screenshots for GNOME and KDE, before and after subpixel rendering! The difference is huge.

I wish to add that font rendering is a very subjective issue. While you may dislike subpixel rendering, many others find it useful. Font rendering also depends on the graphics card, so we advise you to choose judiciously.

I wish to acknowledge the source of the patches in the SRPMs, which have come from Arch Linux's AUR. My many thanks to them in providing the patches and giving guidance on how to use them.





Project , files and procedure prepared for us by Anshul Jain <anshulajainATgmail.com>

He's the Indian Mandriva MUG Leader, so this is another inter-MUG collaboration, I hope they will follow further ones...

Final rpms build for MIB 2009.1/2010.0: Pulfer


Greetings and many thanks to our friend Anshul Jain!