Previous Page | Next Page

Specifying Fonts in SAS/GRAPH Programs

Determining What Fonts Are Available

The fonts listed in TrueType Fonts Supplied by SAS are available on all systems where SAS is installed. It is recommended that you use these fonts when possible. Additional system fonts that are available to your application and the methods for determining those fonts depend on the following:

For more information on determining what fonts are available, see SAS Language Reference: Concepts and the SAS documentation for your operating environment.

You can add additional fonts to your system for use by SAS/GRAPH, but all fonts must be registered with the FONTREG procedure. See Base SAS Procedures Guide for more information.

All of the fonts that have been registered with the FONTREG procedure are listed in the SAS registry. To view the list of registered fonts, follow these steps:

  1. Open the registry editor by either selecting Solutions [arrow] Accessories [arrow] Registry Editor or by issuing the command REGEDIT in the command line.

  2. Select CORE [arrow] PRINTING [arrow] FREETYPE [arrow] FONTS.

The SAS/GRAPH fonts are available on all systems where SAS/GRAPH is installed, but they are provided primarily for special uses. See Using SAS/GRAPH Fonts for more information.

When you are deciding what font to use, consider all operating environments in which your SAS code will be run. For example, if you specify a font, such as Arial, that is available only on Windows systems, then your output will appear different on other systems. If you specify one of the fonts that is installed with SAS (see TrueType Fonts Supplied by SAS) then your output will appear the same on all systems. It is recommended that you use system fonts whenever possible.

Previous Page | Next Page | Top of Page