/dev/hda1 /dos/c vfat rw 0 0
If you add more fonts to that directory later, you'll need to rereun ttmkfdir,
and restart the font server with the command
/etc/rc.d/init.d/xfs restart
If you want your new fonts to override the old fonts, you'll need to rearrange the order of lines in the 'catalog' line of the file managed by chkfontpath, /etc/X11/fs/config. For instance, it might contain
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/75dpi,
/dos/c/Windows/fonts
To get the TrueType fonts in /dos/c/Windows/fonts to be used instead of
other fonts, move it ahead of the other directories:
catalogue = /dos/c/Windows/fonts ,
/usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/75dpi
and restart the font server with the command
/etc/rc.d/init.d/xfs restart
Note: one user reports that Netscape's Java has trouble with some TrueType fonts, and that moving the 75dpi or 100dpi fonts to near the top of the list avoids the problem. Not sure if this is really true.
For more info, see the Red Hat 6.0 font support whitepaper and the 'xfs' and 'chkfontpath' man pages.
Using TrueType Fonts with Red Hat 5.2
# cd /usr/X11R6/lib/X11/fonts/ttfonts # mount /dos/c # cp /dos/c/windows/fonts/*.ttf .The font server will have access to the new fonts after the next time you boot. If you're impatient, you can access them right away by giving the commands
# cd /etc/rc.d/init.d # ./xfstt restart(Note that "./". It's important. If you leave it off, you might get the real xfstt instead of the script in /etc/rc.d/init.d.)
FontPath "unix/:7100"
at the bottom of the group of FontPath lines, and restart X.
To check whether this worked, list available fonts with the command
% xlsfonts | grep ttYou should see some fonts with -ttf- listed as the foundry.
Note: XConfigurator overwrites /etc/X11/XF86Config every time it runs, so you'll need to redo this step every time you reconfigure X for your graphics card.
Also note: It's rumored that KDE1.1 has trouble dealing with xfstt. Beware!