LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2001, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 Nov 2001 09:43:03 -0500
Reply-To:     "Bross, Dean S" <dean.bross@HQ.MED.VA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Bross, Dean S" <dean.bross@HQ.MED.VA.GOV>
Subject:      Re: Which FONTS can be used in GOPTIONS?
Content-Type: text/plain; charset="iso-8859-1"

The SAS web site used to have a file ts252x.pdf which gave some help on using hardware fonts with CGM drivers.

Also, SAS-L had a message from W. (Bill) Droogendyk back on 1/18/1999. You might try to get it out of the archives. The topic was SAS Graph cgm files to Microsoft Office97 Solution and it had several attachments.

Dean Bross

> -----Original Message----- > From: Dietrich Alte [mailto:alte@MAIL.UNI-GREIFSWALD.DE] > Sent: Thursday, November 29, 2001 9:29 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: Which FONTS can be used in GOPTIONS? > > > Thanks for help on FONTS with GOPTIONS. > > "Michael S. Zdeb" said: > > > Hi. You can now use True Type fonts for a lot of different > output. The > > font name has to match the font name on your PC and has to > be in quotes, > > for example... > > > > goptions dev=gif ftext='Arial'; > > BUT: it doesn't work for me. SAS log tells me: > > WARNING: Font SAS Monospace could not be used. > Font SIMULATE substituted for font SAS Monospace. > > I have tried putting e.g. 'Times', 'Arial', ' Tahoma' or even 'SAS > Monospace' into the title statement (f='Arial') or goptions as Michael > wrote. > > Any ideas? > > Can it be different for some devices? although Frank Poppe wrote "The > device you are printing to doesn't matter." > > Example code follows (using M-Friendly's macros boxaxis and density): > > GOPTIONS > RESET = ALL > GUNIT = PCT > GSFNAME = grafout > GSFMODE = replace > FTEXT = 'SAS Monospace' /* Arial */ > HTEXT = 4 > XMAX = 11IN /* Maximum horizontal plot size in CM */ > YMAX = 8.5IN /* Maximum vertical plot size in CM */ > HSIZE = 24CM > VSIZE = 18CM > HORIGIN = 0CM > VORIGIN = 0CM > CBACK = white > CPATTERN = red > NOBORDER > COLORS = (black) > CSYMBOL = blue > DEVICE = CGMOF97L /*CGMMPPA --> MS Powerpoint */ /* CGMOF97P --> > MS-Office */ > DISPLAY > LFACTOR = 2 > NOCELL; > > Filename grafout 'c:\mypath'; > Title1 HEIGHT= 6PCT "Distribution of MCV [fl]"; > Title2 MOVE=(-0,-0.4)CM HEIGHT= 4PCT "Nonparametric estimate > (Gaussian kernel)"; > axis1 %all_axis; > %boxaxis(data=alk.alkohol, out=boxanno, var=MCV, pos=96, boxwidth=10); > %DENSITY( > data=alk.alkohol, /* Name of input data set > */ > out=DENSPLOT, /* Name of output data set */ > var=MCV, /* Input variable (numeric) */ > window=, /* Bandwidth (H) */ > xfirst=., /* . or any real; smallest X value */ > xlast=., /* . or any real; largest X value */ > xinc=., /* . or value>0; X-value increment */ > /* Default: (XLAST-XFIRST)/60 */ > gplot=YES, > symbol= i=join v=none, > haxis=Axis1 , /* AXIS statement for horizontal axis > */ > vaxis=Axis1, /* and for vertical axis- use to equate axes > */ > plotopt=, /* other plot options, eg %str(areas=1) to fill */ > anno=boxanno, > showobs=YES > ); > > > -- > ----------------------------------------------------------------- > Dietrich Alte (Statistician, Dipl.-Stat.) > University of Greifswald - Medical Faculty > Institute of Epidemiology and Social Medicine > Walther-Rathenau-Str. 48, D-17487 Greifswald, Germany > Phone +49 (0) 3834 - 86 77 13, fax +49 (0) 3834 - 86 66 84 > Email alte@mail.uni-greifswald.de > Institute http://www.medizin.uni-greifswald.de/epidem/ > Study http://www.medizin.uni-greifswald.de/epidem/ship.htm > ----------------------------------------------------------------- >


Back to: Top of message | Previous page | Main SAS-L page