Chapter Contents

Previous

Next
The GFONT Procedure

Example 1: Displaying Fonts and Character Codes


Procedure features:
GFONT statement options:
HEIGHT=
NOBUILD
ROMCOL=
ROMFONT=
ROMHT=
SHOWROMAN
Sample library member: GR16N01

Display of the Greek Font with Character Codes (GR16N01)

[IMAGE]

This example illustrates the SHOWROMAN option, which displays the character codes that are associated with the font characters that are being displayed. A display such as this one shows which keyboard character you enter to produce the Greek character you want. In addition, this example shows how to modify the appearance of both the font characters and the character codes when they are displayed.
 Note about code
goptions reset=global gunit=pct border cback=white
         colors=(black blue green red)
         ftext=swiss htitle=6 htext=3;
 Note about code
title 'The GREEK Font with Character Codes';
footnote j=r 'GR16N01 ';
 Note about code
proc gfont name=greek
           nobuild
           height=3.7
           romcol=red
           romfont=swissl
           romht=2.7
           showroman;
run;
quit;


Chapter Contents

Previous

Next

Top of Page

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