FUNCTIONS GT

GTI_FONTSIZE

Query or change the height of a text cell in pixels

Syntax

Signature
GtInfo( GTI_FONTSIZE, [nPixels] ) --> nPixels

Arguments

GTI_FONTSIZE

The selector, from gtinfo.ch.

nPixels

The new height of the font.

Return value

The height of a cell before the call.

Description

A new height loads the font in this size and changes the size of the window. The width of the cell follows the font, see GTI_FONTWIDTH.

Notes

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

Output

See also