User Commands MKFONTSCALE(1) NAME mkfontscale - create an index of scalable font files for X SYNOPSIS mkfontscale [ -b ] [ -s ] [ -o _f_i_l_e_n_a_m_e ] [ -x _s_u_f_f_i_x ] [ -a _e_n_c_o_d_i_n_g ] ... [ -f _f_u_z_z ] [ -l ] [ -e _d_i_r_e_c_t_o_r_y ] [ -p _p_r_e_- _f_i_x ] [ -r _p_r_e_f_i_x ] [ -n _p_r_e_f_i_x ] [ -- ] [ _d_i_r_e_c_t_o_r_y ] ... DESCRIPTION For each directory argument, _m_k_f_o_n_t_s_c_a_l_e reads all of the scalable font files in the directory. For every font file found, an X11 font name (XLFD) is generated, and is written together with the file name to a file fonts.scale in the directory. The resulting fonts.scale file should be checked and possi- bly manually edited before being used as input for the mkfontdir(1) program. OPTIONS -b read bitmap fonts. By default, bitmap fonts are ignored. -s ignore scalable fonts. By default, scalable fonts are read. If -b is set, this flag has the side effect of enabling the reading of fonts.scale files. -o _f_i_l_e_n_a_m_e send program output to _f_i_l_e_n_a_m_e; default is fonts.scale if bitmap fonts are not being read, and fonts.dir if they are. If _f_i_l_e_n_a_m_e is relative, it is created in the directory being processed. If it is the special value -, output is written to standard output. -x _s_u_f_f_i_x exclude all files with the specified _s_u_f_f_i_x. -a _e_n_c_o_d_i_n_g add _e_n_c_o_d_i_n_g to the list of encodings searched for. -f _f_u_z_z set the fraction of characters that may be missing in large encodings to _f_u_z_z percent. Defaults to 2%. -l Write fonts.dir files suitable for implementations that cannot reencode legacy fonts (BDF and PCF). By default, it is assumed that the implementation can reencode Unicode-encoded legacy fonts. -e specifies a directory with encoding files. Every such directory is scanned for encoding files, the list of which is then written to an "encodings.dir" file in X Version 11 Last change: mkfontscale 1.0.3 1 User Commands MKFONTSCALE(1) every font directory. -p Specifies a prefix that is prepended to the encoding file path names when they are written to the "encodings.dir" file. The prefix is prepended lit- terally: if a `/' is required between the prefix and the path names, it must be supplied explicitly as part of the prefix. -r Keep non-absolute encoding directories in their rela- tive form when writing the "encodings.dir" file. The default is to convert relative encoding directories to absolute directories by prepending the current direc- tory. The positioning of this options is significant, as this option only applies to subsequent -e options. -n do not scan for fonts, do not write font directory files. This option is useful when generating encoding directories only. -- end of options. SEE ALSO X(5), Xserver(1), mkfontdir(1), ttmkfdir(1), xfs(1), xset(1) NOTES The format of the fonts.scale, fonts.dir and encodings.dir files is documented in the mkfontdir(1) manual page. Mkfontscale will overwrite any fonts.scale file even if it has been hand-edited. mkfontscale -b -s -l is equivalent to mkfontdir. AUTHOR The version of mkfontscale included in this X.Org Foundation release was originally written by Juliusz Chroboczek for the XFree86 project. The func- tionality of this program was inspired by the ttmkfdir util- ity by Joerg Pommnitz. X Version 11 Last change: mkfontscale 1.0.3 2