RH 8 font problem
Tim Wunder
tim
Mon May 17 11:41:22 PDT 2004
I've been trying to troubleshoot a problem with TrueType fonts and RH 8. I *had* TrueType fonts sorta working, but was getting occasional crashes of XFS (x font server). After playing with the system over the weeked, I mananged to find a way to crash xfs 100% of the time. All I needed to do was try to change fonts in an OOo document.
In order to try and rectify the problem once and for all, I decided to try to uninstall the TTF's and re-install them according to http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/ref-guide/s1-x-fonts.html
In the process of doing this, I ran into this known bug,
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=77272
which indicates a problem that ttmkfdir has with bad ttf fonts. So I managed to find a set of fonts, thru the process of elimination, that ttmkfdir liked, but I'm still having problems.
I installed my "good" fonts into /usr/share/fonts/TrueType
I then ran ttmkfdir to create the fonts.dir and fonts.scale files.
I then ran chkfontdir --add /usr/share/fonts/TrueType and
chkfontdir --list to make sure the directory got listed.
I then ran /sbin/service xfs restart to reload the new fonts
But, when I ran xlsfonts, none of the new fonts were listed. I've since tried to install only a single font in the /usr/share/fonts/TrueType directory, comic.ttf, but even that seems to be failing.
And there's more puzzling stuff...
OOo seems to see the TTF fonts, now, despite them not being seen by xlsfonts. I just started OOo remotely and al the previously installed TTF's appear to be available. Damn peculiar. Where does OOo find fonts? It's listing ALL the TTF's I *had* installed, even though they shouldn't *be* instaled anymore (cuz I'm only trying to get the 1 font to be seen by xlsfonts). I originally had the fonts installed in
/usr/X11R6/lib/X11/fonts/TrueType, but have since removed that directory.
I'm getting close to being at my wit's end on this. Anybody have a large clue stick they can hit me with?
Thanks,
Tim
More information about the Linux-users
mailing list