MacSlow
2007-01-07, 10:27 PM CST
Greetings everybody!
I've been enjoying the specially patched versions of cairo, libXft and freetype under Ubuntu 6.10 for some time now and wanted the same crisp font-rendering on my laptop, which happens to run Fedora Core 6. I looked high and low for patched versions of those packages to install on FC6, but could not find them. Thus I created them myself.
I grabbed the needed patches (initially written by David Turner, freetype-maintainer) from the web and inserted them in the stock SRPMs from the FC6 repositories. The resulting binary RPMs and the new SRPMs I tar'ed up and placed them...
here (http://macslow.thepimp.net/projects/improved-fonts-for-fc6.tar.bz2) (sha1-checksum (http://macslow.thepimp.net/projects/improved-fonts-for-fc6.tar.bz2.sha1sum) of the tarball).
Here's a rough guide how to get this installed on your system. A word of caution: if you belong to the type of person, that does not like to install non-official packages and all possible problems that might arise from this, stop reading now! I will not be held responsible, if you mess up your system following this small guide here. I just provide it for convenience to interested people, who would like improved font-rendering on their FC6-systems.
I got rid of the unpatched packages doing these steps...
1.) logout of gnome
2.) switch to a VT
3.) log in as root
4.) issue the command: telinit 3
5.) wait a few seconds for this to finish
6.) issue the command: rpm -e --nodeps cairo cairo-devel freetype freetype-devel libXft libXft-devel
... then you would need to proceeded like this...
7.) unpack the tarball: tar jxvf improved-fonts-for-fc6.tar.bz2
8.) cd improved-fonts-for-fc6
9.) rpm -ivh *.i386.rpm
10.) cd .. ; rm -rf improved-fonts-for-fc6
11.) telinit 5 ; exit
12.) relogin to gnome as a normal user
If you don't trust my binary RPMs just take a look at the supplied SRPMs to see what's going on. Finally here's a screenshot of what you can expect in terms of font-rendering-quality (don't be confused by the Ubuntu-ish look, I use a theme that does provide these looks, it's still a FC6-system). Don't forget that you need to enable subpixel-anti-aliasing in Gnome's font-properties for this to take effect (after you installed/replaced the RPMs). I'm using light hinting btw. And remember to set the correct values for option DisplaySize in your /etc/X11/xorg.conf in the Monitor-section, thus you can get a proper DPI-info from the command:
xdpyinfo | grep resolution
Use the reported value in the DPI-settings of gnome-font-properties.
http://macslow.thepimp.net/shots/small_improved-fonts-for-fc6.png (http://macslow.thepimp.net/shots/improved-fonts-for-fc6.png)
Best regards...
MacSlow
I've been enjoying the specially patched versions of cairo, libXft and freetype under Ubuntu 6.10 for some time now and wanted the same crisp font-rendering on my laptop, which happens to run Fedora Core 6. I looked high and low for patched versions of those packages to install on FC6, but could not find them. Thus I created them myself.
I grabbed the needed patches (initially written by David Turner, freetype-maintainer) from the web and inserted them in the stock SRPMs from the FC6 repositories. The resulting binary RPMs and the new SRPMs I tar'ed up and placed them...
here (http://macslow.thepimp.net/projects/improved-fonts-for-fc6.tar.bz2) (sha1-checksum (http://macslow.thepimp.net/projects/improved-fonts-for-fc6.tar.bz2.sha1sum) of the tarball).
Here's a rough guide how to get this installed on your system. A word of caution: if you belong to the type of person, that does not like to install non-official packages and all possible problems that might arise from this, stop reading now! I will not be held responsible, if you mess up your system following this small guide here. I just provide it for convenience to interested people, who would like improved font-rendering on their FC6-systems.
I got rid of the unpatched packages doing these steps...
1.) logout of gnome
2.) switch to a VT
3.) log in as root
4.) issue the command: telinit 3
5.) wait a few seconds for this to finish
6.) issue the command: rpm -e --nodeps cairo cairo-devel freetype freetype-devel libXft libXft-devel
... then you would need to proceeded like this...
7.) unpack the tarball: tar jxvf improved-fonts-for-fc6.tar.bz2
8.) cd improved-fonts-for-fc6
9.) rpm -ivh *.i386.rpm
10.) cd .. ; rm -rf improved-fonts-for-fc6
11.) telinit 5 ; exit
12.) relogin to gnome as a normal user
If you don't trust my binary RPMs just take a look at the supplied SRPMs to see what's going on. Finally here's a screenshot of what you can expect in terms of font-rendering-quality (don't be confused by the Ubuntu-ish look, I use a theme that does provide these looks, it's still a FC6-system). Don't forget that you need to enable subpixel-anti-aliasing in Gnome's font-properties for this to take effect (after you installed/replaced the RPMs). I'm using light hinting btw. And remember to set the correct values for option DisplaySize in your /etc/X11/xorg.conf in the Monitor-section, thus you can get a proper DPI-info from the command:
xdpyinfo | grep resolution
Use the reported value in the DPI-settings of gnome-font-properties.
http://macslow.thepimp.net/shots/small_improved-fonts-for-fc6.png (http://macslow.thepimp.net/shots/improved-fonts-for-fc6.png)
Best regards...
MacSlow