FUNCTIONS GT

GTI_FONTWIDTH

Query or change the width of a text cell in pixels

Syntax

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

Arguments

GTI_FONTWIDTH

The selector, from gtinfo.ch.

nPixels

The new width of the font.

Return value

The width of a cell before the call.

Description

In GTWVT the new width is used 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