Thanks void man, that worked. Wow, the fonts look so much better now. What a relief.
But i have run into a 'old' problem. After applying the TTF fonts, Phoenix nor mozilla will underline any links while browsing the web. Yes, the underline option is checked in the browser. Its a known bug:
http://bugzilla.mozilla.org/show_bug.cgi?id=195573
Yes, i did submit this problem at ars and you did help me out. But i never actually got to do it:
http://arstechnica.infopop.net/OpenTopi ... 7010956955
So, i am going to give it another shot. This time i am going to use the src.rpm for XFree86.
Here is what i did:
1) Got the XFree.src.rpm file from the source cd's of RH 9.
2) Did rpm -ivh XFree.src.rpm
3) Copied the patch to the /usr/src/redhat/SOURCES directory.
Now, i am stuck at the part where you modify the spec file. I did go into it but there are just too many sections in it which say 'patches'. Some are for video cards some for something else. Where do i put in the instructions for that 'underline' patch? Also, what would the instructions be?
Here is whats inside the patch:
--- xc/lib/font/FreeType/ftfuncs.c~ 2003-02-13 06:01:45.000000000 +0300
+++ xc/lib/font/FreeType/ftfuncs.c 2003-03-04 20:27:16.000000000 +0300
@@ -959,11 +959,11 @@
int underlinePosition, underlineThickness;
if(post) {
- underlinePosition = TRANSFORM_FUNITS_Y(post->underlinePosition);
+ underlinePosition = TRANSFORM_FUNITS_Y(-post->underlinePosition);
underlineThickness = TRANSFORM_FUNITS_Y(post->underlineThickness);
} else {
underlinePosition =
- TRANSFORM_FUNITS_Y(t1info->underline_position);
+ TRANSFORM_FUNITS_Y(-t1info->underline_position);
underlineThickness =
TRANSFORM_FUNITS_Y(t1info->underline_thickness);
}
Thanks.