Chapter 32: The GFONT Procedure


Overview

The GFONT procedure displays new or existing fonts and creates user -generated fonts for use in SAS/GRAPH programs. These fonts can contain standard Roman alphabet characters, foreign language characters , symbols, logos, or figures.

The GFONT procedure

  • displays SAS/GRAPH software fonts

  • displays fonts that were previously generated with the GFONT procedure (user-generated fonts)

  • displays hardware font that are available on your device and have a corresponding Chartype value

  • displays the character codes or hexadecimal values that are associated with the characters in a font

  • creates stroked fonts or polygon fonts.

Each of these activities has its own requirements, its own process, and its own options (although some options are valid for either process). In this chapter, each topic to which this distinction applies is divided into two sections: "Displaying Fonts" and "Creating Fonts."

About Displaying Fonts

You can use the GFONT procedure to display a font when you want to do one of the following:

  • review the characters that are available in Institute-supplied fonts, hardware fonts, or user-generated fonts

  • see the character codes or the hexadecimal values that are associated with the characters in a font.

When you display a font, you can modify the color and height of displayed font characters, draw reference lines around the characters, or display the associated character codes or hexadecimal values. See Example 1 on page 962.

About Creating Fonts

You can use the GFONT procedure to create and store fonts of your own design. The GFONT procedure is not limited to creating alphabet fonts. You can use it to create and store any series of figures that you can draw using X and Y coordinates or that you can digitize. The characters or figures in a font can be displayed with any SAS/GRAPH statement or option that allows for font specification and a text string (for example, a TITLE statement). See Creating a Font on page 951 for details.




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net