TEXFONT

Finds the font used to draw text strings
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('TEXFONT', font, return-code-variable);

Required Arguments

font
character variable name; returns the font name.
return-code-variable
numeric variable name; returns the return code of the routine call, which can be 0 or 8. See Return Codes for DSGI Routines and Functions.

Details

The GASK('TEXFONT' . . . ) routine returns the current text font. GASK('TEXFONT', . . . ) searches for the current font in the following order:
  1. the value selected in the GSET('TEXFONT', . . . ) function, if specified
  2. the value of the FTEXT= graphics option, if specified
  3. the device's default device-resident font if the device supports a device-resident font
  4. the SIMULATE font