TEXFONT

Specifies the font used to draw text strings
Operating state: GKOP, SGOP, WSAC, WSOP
Default: 1. FTEXT= graphics option, if specified; 2. device-resident font, if possible; 3. SIMULATE font

Syntax

return-code-variable=GSET('TEXFONT', font);

Required Argument

font
character string enclosed in quotation marks or character variable name; the name of a font that can be accessed by SAS/GRAPH software. If you want to use the device-resident font, submit
rc=gset("texfont", " ");
Note:When DSGI is used with long font names, the font name must be in double quotation marks that are embedded in single quotation marks.

Return Codes

This function returns:

Details

The GSET('TEXFONT', . . . ) function selects a SAS/GRAPH font for the text. The aspect source flag (ASF) of TEXFONT must be set to 'INDIVIDUAL' for this attribute to be used outside of a text bundle. See SAS/GRAPH Font Lists for a list of valid SAS/GRAPH fonts. You can also use fonts that you have created using the GFONT procedure.