[Previous] [Contents] [Index] [Next]

mkfontdir

Create font server index files

Syntax:

mkfontdir [options]

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.

Description:

The mkfontdir utility builds an index file for the fonts in a directory.

Examples:

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

Files:

${PHOTON_PATH}/font_repository/fontdir
The index files for the fonts.

Environment variables:

PHOTON_PATH
The name of the root directory containing Photon files.

Exit status:

0
Success.
-1
An error occurred; an error message is displayed.

[Previous] [Contents] [Index] [Next]