First off, try this: in Firefox, click Edit, Options, Content, then, in the section Fonts & Colors, click Advanced and make sure there is a check in "Allow pages to choose their own fonts instead of my selections above" box. If that wasn't checked, that may be your problem.
Then, if you still have a problem, make
sure you've done all the following.
You must have the files
fonts.dir and
fonts.scale in your font directory (in
/usr/X11R6/lib/fonts/truetype [or whatever you named it]). Those are created by executing, as root,
mkfontscale followed by
mkfontdir in that directory (where the TTF files are) -- if they don't exist, it ain't gonna work no matter what.
After you've done that, in the same directory, execute
fc-cache ${PWD}. That will (re)create a file
fonts.cache (maybe
fonts.cache-1 or
-2 or some other number). Open
fonts.cache* in an editor and look for the font name you're looking for (the file has a lot of gobbledygook in it, but you should be able to recognize the name(s) you're looking for). The format of the file is the name of the TTF file followed by a recognizable name; e.g., "jupitern.ttf" 0 "Jupiter," "timnreb.ttf" 0 "Times New Roman MT Extra Bold" and things like that.
Again, you must have these three files in your directory, they should have content, and you should be able to recognize font names.
Then, for the X server to know about their existence, there must be an entry in
/etc/X11/xorg.conf that looks like this:
Code:
Section "Files"
#FontPath "/usr/X11R6/lib/X11/fonts/CID/"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Adobe/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/myfonts/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
I have TTF files in /usr/X11R6/lib/X11/fonts/TTF, if you have them in a directory named "truetype," just change "TTF" to "truetype."
Finally, you must restart the X server. If you're using a graphic log in, you'll need to reboot the machine. If you boot to run level 3; i.e., you have to log in and then type
startx, then just shut down the server and
startx.
After all that, you should see those fonts and you should be able to see them in applications; OpenOffice should have them all available, Firefox should be able to use them too, but... Firefox is going to use the fonts the web site you're visiting is specifying most of the time. You should be able to fiddle around with Firefox's settings and set the default font to one you want but far too many web sites are going to display in Arial (it's a Windows World after all). You also need to make sure that the fonts the sites you're visiting are the ones you actually have installed -- open a new OpenOffice document and scan down the list in the font drop down and see.
Hope this helps!