On Thu, 2008-08-28 at 10:20 -0400, der Mouse wrote: > > It's been a long time since I id any low level PoscrScript work, but > > you probably need to tweak the PostScript prologue so that it works > > with UTF-8 encodings. > > Level 2 PostScript can't do UTF-8 as far as I can tell (I dug out my > Second Edition Red Book). It can do multi-byte character sets in somke > forms, but UTF-8 isn't one of them, and there's no FMapType that > escapes to a PostScript procedure to permit arbitrary multi-byte > encodings. (Well, not easily. You could define a show-like word that > parses UTF-8 itself and invokes the PostScript primitives only after > extracting a character code.) > > You'll have to preprocess the text into something compatible with one > of the defined FMapType values (unless you're lucky enough to have a > printer with something more modern than Level 2, I suppose, if such a > thing exists).
Ok, can you suggest what kind of multi-byte encoding would work? UTF-16? The immediate problem seems to me.. how do you refer to a specific glyph image you want. Lets pick the "mu" symbol as an example. I can find its unicode, but what would the postscript font know this as? -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
