The optional parameter <cFontName> can be used to specify the name of the font to be loaded. The parameter <cFontName> is a character expression starting with a number specifying the point size. After the point size must be a period followed by the complete name of the
font as it is defined in the instance variable :compoundName.
Alternatively constant defined in FONT.CH can be used for <cFontName>. Constants for four different fonts in four sizes and two constants for the attributes Bold and Italic are available.
FONT_DEFFIXED_SMALL |
FONT_DEFFIXED_MEDIUM |
FONT_DEFFIXED_LARGE |
FONT_DEFFIXED_XLARGE |
FONT_DEFPROP_SMALL |
FONT_DEFPROP_MEDIUM |
FONT_DEFPROP_LARGE |
FONT_DEFPROP_XLARGE |
FONT_HELV_SMALL |
FONT_HELV_MEDIUM |
FONT_HELV_LARGE |
FONT_HELV_XLARGE |
FONT_COURIER_SMALL |
FONT_COURIER_MEDIUM |
FONT_COURIER_LARGE |
FONT_COURIER_XLARGE |
FONT_TIMES_SMALL |
FONT_TIMES_MEDIUM |
FONT_TIMES_LARGE |
FONT_TIMES_XLARGE |
FONT_STYLE_BOLD |
FONT_STYLE_ITALIC |
Using parameter :<cFontName> to describe a font to be created essentially causes the values assigned to the font object's properties, such as :familyName or :codePage, to be ignored.