FONT resource

Defines a file that contains a font.

nameID FONT filename



Unique 16-bit unsigned integer value identifying the resource.


Name of the file that contains the resource. The name must be a valid file name; it must be a full path if the file is not in the current working directory. The path should be a quoted string.

Certain attributes are also supported for backward compatibility. For more information, see Common Resource Attributes.


The following example defines a single font resource:

5 FONT  "cmroman.fnt"