Table of Contents
Create an additional directory for your own TrueType fonts, for example:
~$ mkdir /usr/local/share/fonts/my-tt-fonts
Run ttmkfdir to create a fonts.scale file:
/usr/local/share/fonts/my-tt-fonts$ ttmkfdir > fonts.scale
Run mkfontdir:
~$ mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings/large \ -e /usr/X11R6/lib/X11/fonts/encodings \ /usr/local/share/fonts/my-tt-fonts
The arguments indicating the encoding directories are important! If you omit these, the freetype module and the font server xfs will not work with Asian fonts. If you are using the xtt module, the encoding directories don't matter though, because the xtt module has all encodings internally hardwired and doesn't care for the files in the encoding directories. See also the man page of mkfontdir.
If you are using the “freetype” or the “xtt” module of XFree86 4.x to render TrueType fonts:
If you are using the font server xfs to render TrueType fonts (see [*]):