FUNCTIONS GT

GTI_FONTSEL

Query or change the font by an X11 font description

Syntax

Signature
GtInfo( GTI_FONTSEL, [cFont] ) --> cFont

Arguments

GTI_FONTSEL

The selector, from gtinfo.ch.

cFont

An X11 font description.

Return value

The description before the call. Drivers other than GTXWC return an empty string or NIL.

Description

Only GTXWC uses X11 font descriptions. The other drivers select the font with GTI_FONTNAME.

Notes

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

Output

See also