Installing a Font File

The font store automatically loads all files in \resources\fonts\ on all drives at startup. The search path is soft to hard ( Y:, X:, W:, ..., C:, B:, A:, Z:) and if two or more files have the same name the first one found is used. This means that files in the ROM (Z:) can be replaced with files on user drives.

The font store assumes that the files are in an appropriate format (see). Unsupported font files require a corresponding font rasterizer plug-in.

To install a font file at startup:

  • Copy it into \resources\fonts\ on any drive.

  • Restart the device to restart the Font and Bitmap server.

It is also possible to load a font file dynamically at run time. It is not possible to install a new font rasterizer at run time, however, so font files installed at run time must either be bitmap fonts or supported by an existing font rasterizer.

To dynamically install a font file:

  • Call CWsScreenDevice::AddFile() , specifying the file to be loaded.