Friday, November 19, 2004

Mandrake 10.1 upgrade - crappy fonts solved

After tweaking my Xorg config , certain sites like The Register were being displayed with blocky fonts.



Here's the solution - obviously , your mileage may vary.

1. remove the xorg-x11-100dpi and xorg-x11-75dpi packages (they have crappy helvetica and serif fonts)

2. download and install the ms-font rpms from http://webperf.org/msfonts/
urpmi msfonts-1.2.1-1.noarch.rpm
urpmi msfonts-style-1.2.1-1.noarch.rpm

3. edit /etc/fonts/local.cf - add all of your font directories
here's mine:

/usr/share/fonts/msfonts
/usr/share/fonts/msfonts-style
/usr/share/fonts/default/ghostscript
/usr/share/fonts/ttf
/usr/share/fonts/ttf/western
/usr/share/fonts/freefont
/usr/share/fonts/Dustismo
/usr/share/fonts/ttf/decoratives
/usr/X11R6/lib/X11/fonts/msttcorefonts
/usr/local/share/fonts
/usr/share/fonts
/usr/X11R6/lib/X11/fonts

4. fc-cache -f -v

5. restart your window manager (ctrl+alt+backspace )
Voila! No more crappy fonts when looking at The Register in Konqueror: