Creating Font Resources

A font resource file is an empty DLL; it contains no code or data, but it does contain resources. You can create font resources by creating font files and adding them as resources to a font resource file. To create a font resource file, follow these steps:

  1. Create the font files.
  2. Create a resource-definition file for the font.
  3. Create a dummy code module.
  4. Create a module-definition file that describes the fonts and the devices that use the fonts.
  5. Compile and link the source files.

You can add a font file to an empty library, along with such resources as icons, cursors, and menus, by using resource compiler.

Note  A complete explanation of how to create a font resource file is beyond the scope of this book. For more information on this topic, see the documentation provided with your application development tools.