how find postscript for a Unicode character.



Now I've written a program that takes minimally marked-up text and
formats it as a Postscript file. I take the generated
Postscript file and send igtto a Postscript orinter using xpp.

That works fine for most of the text I have to print

The minimal markup notation is pure nonstandard hackery. In fact
the program has several front ends that accept a few markup notations,
including one that's easy to use on ,u alphasmart keyboard. (Also, several
back ends will generate html or plain ASCII text instead of postscript) The
program usually accepts text in UTF-8 form.

Every now and then I have text containing unusual (non-ASCII)
characters. It converts them politely from UTF-8 to Unicode, and then
does not know how to produce appropriate Postscript for my
printer. This is probably a matter of identifying an appropriate font that
contains that character, and then sending that to my printer in some way.

I can probably find ways to sent the glyph to the printer, provided I can
find a suitable font entry somewhere. Now Linux (I'm using Debian etch)
has extensive font mechanisms. How can I use these to convert Unicode to
Postscript-compatible glyph?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Exporting Postscript for image processing
    ... individual objects of a Postscript file ... It seems to me this is akin to writing a C++ program that can take any arbitrary C program, display to the user the calculated output of that C program, assign graphics elements to arbitrary objects in the output, allow the user to graphically manipulate those objects with a mouse whilst simultaneously amending the source code of the target C program so that the amended version would generate the output as amended by your user. ... View the output of this postscript file: ... /length 0.001 def ...
    (comp.lang.postscript)
  • Re: lpforms command under Solaris 8-x86
    ... I need to use postscript form to control the size of the font ... Finally, if you're printing a Postscript file, be aware that most ... Netscape, Oracle, StarOffice, and so one) define their font sizes ...
    (comp.unix.solaris)
  • Re: Grainy images in PDF files
    ... this is exactly one of the things the PostScript 3 driver project ... I've now transferred the PostScript file to the Mac and converted it ... They are just stored as a large number of tiny sprites. ...
    (comp.sys.acorn.apps)
  • Re: Printing directly to PS printer?
    ... I have a program that can output postscript files directly. ... like to send a postscript file directly to my postscript printer. ... route of having the HP PS driver generate all the postscript. ... except I would also like to control the printer to make ...
    (comp.lang.postscript)
  • Re: Help on writing a text to gif converter
    ... > just a bunch of characters without any specific formatting, ... > any information about what font to use etc. ... > short script (mostly consisting of the text for the Postscript wrapper). ... I've never created a postscript file.) ...
    (comp.unix.programmer)