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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

including characters from Symbol.

Status
Not open for further replies.

Wolfie7873

Technical User
Jan 15, 2004
94
US
So i need a few greek letters in my document. I can find their octal rep'n in the PLRM, but I don't understand how to actually use them. For instance, the Symbol family encoding vector for lower-case "phi" is 14x6 = 150. So how do I use that number to make the greek letter show up in what i'm doing?

Thanks
 
Several options. If you just want to draw a single glyph from a particular font, you can use the "glyphshow" operator:

Code:
%!PS

/Symbol 24 selectfont
10 10 moveto
/eta glyphshow

showpage

You can also use the "show" operator, if you use the octal code inside a string:

Code:
%!PS

/Symbol 24 selectfont
10 10 moveto
(\150) show

showpage

Or, if you want to get really fancy, you can build your own font that copies some other font, plus adds characters from Symbol. You can also create a composite font.

Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top