Syntax
GtInfo( GTI_FONTWEIGHT, [nWeight] ) --> nWeightArguments
GTI_FONTWEIGHT
The selector, from gtinfo.ch.
nWeight
GTI_FONTW_THIN, GTI_FONTW_NORMAL or GTI_FONTW_BOLD.
Return value
The weight before the call, one of the GTI_FONTW_* constants.
Description
GTWVT uses the new weight when the font is loaded next, for example by GTI_FONTSIZE.
Notes
Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.
Header
gtinfo.ch
Output