Create font server index files
mkfontdir [options]
- -b
- Backup the old fontdir file before overwriting.
- -d dir
- Directory containing font files (the default is
${PHOTON_PATH}/font_repository/).
- -f pattern
- Construct details for this font pattern only (the default is to scan
the directory).
- -i file
- The name of the font index file (the default is fontdir in
the font file directory).
- -m file
- The name of the font name mapping file (the default is mappings
in the font file directory).
- -s
- Sort the resultant index file.
The mkfontdir utility builds an index file for the fonts in a
directory.
Create an index file called my_fontdir in the current
working directory:
mkfontdir -i ./my_fontdir -d ${PHOTON_PATH}/font_repository
Create an index file called my_fontdir in the
${PHOTON_PATH}/font_repository directory:
mkfontdir -i my_fontdir -d ${PHOTON_PATH}/font_repository
- ${PHOTON_PATH}/font_repository/fontdir
- The index files for the fonts.
- PHOTON_PATH
- The name of the root directory containing Photon files.
- 0
- Success.
- -1
- An error occurred; an error message is displayed.