[0m


MKFONTDIR(1)	    UNIX Programmer's Manual	     MKFONTDIR(1)



[1mNAME
     [0mmkfontdir - create a fonts.dir file for a directory of font
     files

[1mSYNOPSIS
     mkfontdir [0m[_d_i_r_e_c_t_o_r_y-_n_a_m_e_s]

[1mDESCRIPTION
     [0mFor each directory argument, _m_k_f_o_n_t_d_i_r reads all of the font
     files in the directory searching for properties named
     "FONT", or (failing that) the name of the file stripped of
     its suffix.  These are used as font names, which are written
     out to the file _f_o_n_t_s._d_i_r in the directory along with the
     name of the font file.

     _M_k_f_o_n_t_d_i_r will read _X_a_r_m(1) format SNF (suffix [1m.snf[0m),
     compressed SNF (suffix [1m.snf.Z[0m), BDF (suffix [1m.bdf[0m), and
     compressed BDF (suffix [1m.bdf.Z[0m) files.  If a font exists in
     multiple formats, the one given first in the preceding list
     will be used.

[1mFONT NAME ALIASES
     [0mThe file _f_o_n_t_s._a_l_i_a_s can be put in any directory of the
     font-path to map alternate font names to existing fonts.
     The format consists of two white-space separated columns,
     the first containing the alias and the second containing a
     corresponding font-name pattern.

     When a font alias is used, the named font is searched for in
     the normal manner, looking through each font directory in
     turn.  This means that the aliases need not mention fonts in
     the same directory as the alias file.

     To embed white-space in either name, simply enclose them in
     double-quote marks, to embed double-quote marks (or any
     other character), precede them with back-slash:

     "magic-alias with spaces"	   "\"font\name\" with quotes"
     regular-alias	      fixed

     If the string "FILE_NAMES_ALIASES" stands alone on a line,
     each file-name in the directory (stripped of it's .snf suf-
     fix) will be used as an alias for that font.

[1mUSAGE
     Xarm(1) [0mlooks for both _f_o_n_t_s._d_i_r and _f_o_n_t_s._a_l_i_a_s in each
     directory in the font path each time it is set (see
     xset(1)).

[1mSEE ALSO
     [0mX(1), Xserver(1), Xarm(1), xset(1)




Printed 11/1/94             Release 4				1



[0m