FUNCTIONS GT

GTI_FONTWEIGHT

Query or change the weight of the font

Syntax

Signature
GtInfo( GTI_FONTWEIGHT, [nWeight] ) --> nWeight

Arguments

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.

Output

See also