This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Create font server index files
mkfontdir [options]
The mkfontdir utility builds an index file for the fonts in a directory. This index contains information such as the name and type of each font, its size and style, a textual description of the font family, and the range of characters defined within the font. To be available to an application, at least one font must be defined in this configuration file.
If you are using mkfontdir under Linux or Solaris, you should make sure that
your LD_LIBRARY_PATH environment variable includes the correct
library paths.
As well, because these operating systems have with their own version of
mkfontdir,
you need to start the utility with the full path to start the QNX version.
The paths for these operating systems are:
|
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