Installing fonts directly for the X server

If you are not using a font server and are installing the fonts directly for X, you have to add the font directory in the previous step to the fontpath for the X server, if that is not already done. First, find XF86Config, the X configuration file. For Redhat, this is /etc/X11/XF86Config. Other systems might have it in /usr/X11R6/lib/X11/XF86Config. If you cannot find it, try,

  locate XF86Config
or, better yet, look at the X server log (typically, /var/log/XFree86.0.log) to see which configuration file is being used. In the XF86Config configuration file, look for lines with FontPath in the first column, and add
  FontPath        ``/usr/X11R6/lib/X11/fonts/TTF/''
if such a line does not already exist. There will very likely be several other FontPath lines in the file. If, instead you see only a single line like
  FontPath        ``unix/:7100''
you are using a font server, and there is no point in trying to to add fonts directly under X.

Restart the X server. On some systems, simply logging out and logging back in accomplishes this, or a menu item is offered from the login screen. (Ctrl-Alt-Backspace should also kill the X server, logging you out if you are logged in via xdm/kdm/gdm, and the display manager should automatically restart the X server.)

Gora Mohanty 2004-07-24