Chapter Contents

Previous

Next
FONT

FONT



Specifies a font to use with the SAS System

Default: Sasfont 8-point
Valid in: configuration file, SAS invocation, OPTIONS statement
Windows specifics all


Syntax
Details
See Also

Syntax

-FONT " face-name" <BOLD | NORMAL><REGULAR | ITALIC><point-size><character-set>
FONT="face-name" <BOLD | NORMAL><REGULAR | ITALIC> <point-size><character-set>

"face-name"
specifies the name of the font face to use for printing. This must be a valid, case-sensitive font face name (for example, "SAS Monospace" or "Courier") that matches the name of the font as it is installed on your system. The face-name must be enclosed in double quotation marks. This is a required argument.

BOLD | NORMAL
specifies the weight of the font. The default is NORMAL.

REGULAR | ITALIC
specifies the style of the font. The default is REGULAR.

point-size
specifies the point size to use for printing. This must be an integer from 1 to 7200, inclusive. If you omit this argument, SAS uses the last selected size unless there is no previous size in which case 8 points is used.

characterset
specifies the character set to use. The default is "Western". Some possible valid values are Western, Central European, Cyrillic, Greek, Turkish, Arabic, Baltic, and Thai. If the font does not support the specified character set, the default character set is used. If the default character set is not supported by the font, the font's default character set is used.


Details

If you specify a point-size that is not valid for a font, SAS uses the closest point size for the font you specify.

The font name is case sensitive. Some valid font names are listed in the Fonts item in the Windows Control Panel. For example, you can use the following option with the SAS command:

-font "Sasfont" 12

The SAS System displays output best with a monospaced (fixed-pitch). If you use a proportional (variable pitch) font, text may display incorrectly.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.