Sample 25540: Displaying fonts and character codes using PROC GFONT
This sample is from the "SAS/GRAPH Software: Reference, Version 8", Volume 2, Chapter 16.
For additional information on the sample refer to this book.
/*+-------------------------------------------------------------+
| S A S S A M P L E L I B R A R Y |
| |
| NAME: GFODISFO |
| TITLE: GFODISFO-Displaying Fonts and Character Codes |
| PRODUCT: GRAPH |
| SYSTEM: ALL |
| KEYS: GRAPHICS GFONT |
| PROCS: GFONT |
| DATA: INTERNAL |
| |
| SUPPORT: GRAPHICS STAFF UPDATE: |
| REF: SAS/GRAPH REFERENCE GUIDE |
| MISC: |
| |
+-------------------------------------------------------------+*/
/* Set the graphics environment */
goptions reset=all gunit=pct border cback=white
colors=(black blue green red)
ftext=swiss htitle=6 htext=3;
/* Define title and footnote */
title 'The GREEK Font with Character Codes';
footnote j=r 'GFODISFO ';
/* Display the GREEK font with character codes */
proc gfont name=greek
nobuild
height=3.7
romcol=red
romfont=swissl
romht=2.7
showroman;
run;
quit;

This example illustrates the SHOWROMAN option, 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: | 2005-08-27 03:03:21 |
| Date Created: | 2005-05-23 14:14:13 |
Operating System and Release Information
| SAS System | SAS/GRAPH | All | 8 TS M0 | n/a |