xorg font sillyness

From: Clay Scott <rudeboy@gci.net>
Date: Sat Sep 24 2005 - 14:42:55 AKDT

i just upgraded my distribution last week and i realized i forgot to backup an old bash script i wrote to automate the addition of fonts. basically all it did was cd to the various font directories, check for anything new, if so it would execute the commands necessary to make the fonts available to X. now without it (and the fact i haven't messed with fonts in a really long time) i'm having trouble getting things working again. all of the documentation online is either extremely old (i.e. pre-XFree86 4.0) or simply doesn't get the job done.

what i've done so far:

the freetype module is loading properly, my TrueType font directory is /usr/X11R6/lib/X11/fonts/TrueType/ which is in xorg.conf then i'm issuing the following commands:

ttmkfdir > fonts.scale
mkfontdir
fc-cache /usr/X11R6/lib/X11/fonts/TrueType/
xset fp rehash

... and nothing. fonts are showing up in xlsfonts, but firefox's fonts aren't right and nothing but the basic core and bitstream fonts show up in gimp's font list. i've also used 'mkfontscale' instead of 'ttmkfdir > fonts.scale' to generate that file, but neither gets the job done. i got some clarification while reading that pango serves fonts to gtk2 apps and thought that perhaps i didn't have it installed when i compiled gimp/firefox so i recompiled both and still no go.

i'm wondering if anyone has a more clear and concise method to get this done on recent xorg releases (6.8.0+). perferably a non-automated method with the raw commands so i won't end up forgetting it again or a script i can dissect would be cool too...

thanks,
~clay

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Sep 24 14:43:15 2005

This archive was generated by hypermail 2.1.8 : Sat Sep 24 2005 - 14:43:15 AKDT