FUNCTIONS GT

GTI_FONTQUALITY

Query or change the rendering quality of the font

Syntax

Signature
GtInfo( GTI_FONTQUALITY, [nQuality] ) --> nQuality

Arguments

GTI_FONTQUALITY

The selector, from gtinfo.ch.

nQuality

GTI_FONTQ_DRAFT, GTI_FONTQ_NORMAL or GTI_FONTQ_HIGH.

Return value

The quality before the call, one of the GTI_FONTQ_* constants.

Description

GTI_FONTQ_HIGH smooths the edges of the characters, GTI_FONTQ_DRAFT draws them without smoothing.

Notes

Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.

Output

See also