LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 19 Mar 2002 09:38:26 -0800
Reply-To:     Cassell.David@EPAMAIL.EPA.GOV
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject:      Re: Picture format,
              is it possible to put numeric character in the message part.
Content-type: text/plain; charset=us-ascii

Peter Crawford <peter.crawford@DB.COM> replied: > I don't know the limits of ps fonts, but it might be worth > investigating the ps language to discover whether you > can "pass-thru" the superscript in some other way that > does not involve number characters.

Umm, that's a bit ickier than I would recommend. To 'pass through' a superscript as PostScript code, you basically have to have a chunk of PostScript which will: [1] remember the current font with 'currentfont' [2] create a new font with 'makefont' [3] top-align [use: 'gsave', 'moveto', 'charpath', and other commands] [4] shrink the font by, say, 0.4 [5] print [6] restore alignment and original font

May I just say.. ick.

> If the superscript 2 is available as another character of > the symbol set, find it by trial-and-error, printing out a charset

A [hopefully] much better solution.

> (code to generate this is available in sas-l archives) > or even (last resort) read the documentation. ;-)

No! Not the documentation! :-)

"Real men don't read manuals!" - Richard Holmes 'Pete' Hawkins, Ph.D.

David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


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