MKFONTDIR(1X11) COMMAND REFERENCE MKFONTDIR(1X11) NAME mkfontdir - create fonts.dir file from directory of font files. SYNOPSIS mkfontdir [ directory-names ] This is a supported client. DESCRIPTION For each directory argument, mkfontdir reads all 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 fonts.dir in the directory along with the name of the font file. The kinds of font files read by mkfontdir depend on configuration parameters, but typically include Server Normal Font (suffix .snf), compressed Server Normal Font (suffix .snf.Z), Bitmap Distribution Font (suffix .bdf), and compressed Bitmap Distribution Font (suffix .bdf.Z). If a font exists in multiple formats, the most efficient format will be used. FONT NAME ALIASES The file fonts.alias, which can be put in any directory of the font-path, is used to map new names to existing fonts, and should be edited by hand. The format is two white-space separated columns, the first containing aliases and the second containing font-name patterns. When a font alias is used, the name it references 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 the space(s) in double-quote marks. To embed double-quote marks (or any other character), precede them with a 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 suffix) will be used as an alias for that font. Printed 3/22/89 1
MKFONTDIR(1X11) COMMAND REFERENCE MKFONTDIR(1X11) USES The file Xserver(1x11) looks for both fonts.dir and fonts.alias in each directory in the font path each time it is set (see xset(1x11)). SEE ALSO X(1x11), Xserver(1x11), and xset(1x11). Printed 3/22/89 2
%%index%% na:432,136; sy:568,277; de:845,2299;3648,272; se:3920,217; %%index%%000000000092