Sample 25540: Displaying fonts and character codes using PROC GFONT
This sample code uses PROC GFONT with the SHOWROMAN option to display the character codes and symbols that are available with the GREEK font.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
This sample code uses PROC GFONT with the SHOWROMAN option to display the character codes and symbols that are available with the GREEK font.
The graphics output in the Results tab was produced using SAS® 9.2. Submitting
the sample code with a release of SAS prior to SAS 9.2 might produce different results.
/* Set the graphics environment */
goptions reset=all cback=white border
htitle=12pt htext=10pt
ftext='Albany AMT/bold';
/* Add a title to the graph */
title1 'The GREEK Font with Character Codes';
/* Display the GREEK font with character codes */
proc gfont name=greek
nobuild
height=1.5
romcol=CX7C95CA
romht=1.5
showroman;
run;
quit;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
This example illustrates the SHOWROMAN option in PROC GFONT, which displays the character codes that are associated with the font characters that are being displayed.
Type: | Sample |
Topic: | SAS Reference ==> Procedures ==> GFONT
|
Date Modified: | 2011-09-28 09:42:27 |
Date Created: | 2005-05-23 14:14:13 |
Operating System and Release Information
SAS System | SAS/GRAPH | All | 8 TS M0 | n/a |