Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated Postscript from R graphics device

Status
Not open for further replies.

FScottDahlgren

Programmer
Jul 31, 2008
1
0
0
US
Dear All,

I am having difficulties with creating PostScript documents using R graphics device. Here are some assumptions I'm working under:

(1) the only way to show an alpha glyph is using the Symbol font.

(2) no encoding allows for regular latin characters and Symbols such as alpha.

Basically, I generate the postscript from R graphics, and the part that I want to change looks like this:

Code:
140.04 242.14 (Lower Limit,  a = 0.05) 0 0 0 t
140.04 227.74 (Upper Limit,  a = 0.05) 0 0 0 t

which I manually change to:

Code:
140.04 242.14 (Lower Limit,   = 0.05) 0 0 0 t
140.04 227.74 (Upper Limit,   = 0.05) 0 0 0 t
/Symbol 12 selectfont 211 242.14 moveto
/alpha glyphshow
211 227.74 moveto
/alpha glyphshow

Is there a better way to accomplish this? Can I simply include some command to temporarily change fonts? Is there a way to change the encoding files to include an extra glyph? I've tried all of the above, but cannot do so. The hack method works fine for my purposes; however, it is difficult to imagine that this would work for another user. Your help is appreciated.


F. Scott Dahlgren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top