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

Unicode in Postscript

Status
Not open for further replies.

thegman

Programmer
Oct 16, 2001
26
GB
A simple question, with what I fear is a very compilcated answer...

Basically, I need to put Chinese characters into postscript, but if I do:

/STXihei findfont 12 scalefont setfont
100 100 moveto
<d750> show


I get a chinese character different to the unicode one that d750 represents in my big book of Unicode. So I'm thinking it is the CID number or something.

So, what I need is *any* way to get a unicode character to represent itself correctly in postscript, either by the character itself in the postscript (in a UTF-8 file), or using the unicode number in hex or decimal.

I'm desperate, any help at all will be gratefully recieved.

Thank you

Garry
 
I know PostScript supports CID-keyed and double-byte fonts, but frankly, I've never much investigated the topic. It's a big hole in my PostScript knowledge.

You need both the font and the CMAP file, but again, I'm not sure about the exact mechanism involved.

If you'd like to email me your contact information, I can put you in contact with some gurus.

You can get my email address off my website.



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

Part and Inventory Search

Sponsor

Back
Top