Important: The information in this document is obsolete and should not be used for new development.
TextFont
TheTextFont
procedure sets the font of the current graphics port in which the text is
to be rendered.
PROCEDURE TextFont (font: Integer);
font
- The font family ID.
DESCRIPTION
TheTextFont
procedure sets the value of the graphics port text font (txFont
) field. The initial font family ID is0
, which represents the system font. The value that you specify for this field is either an integer or a constant. The range of integers currently defined are from0
to32767
. Currently, negative font family IDs are not supported, although they may be supported in the future.For more information about
TextFont
, see "Setting the Font" on page 3-20.SPECIAL CONSIDERATIONS
The system font and application font have different font IDs and sizes on various script systems. However, the special designators0
and1
always map to the system font and the application font for the system script, respectively.