home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13505 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.1 KB  |  43 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!uwm.edu!linac!uchinews!machine!chinet!les
  3. From: les@chinet.chi.il.us (Leslie Mikesell)
  4. Subject: Re: IS UNIX DEAD?
  5. Message-ID: <BxtMtn.AIF@chinet.chi.il.us>
  6. Organization: Chinet - Public Access UNIX
  7. References: <0105002B.ibrvd6@digtype.airage.com> <1992Nov11.215409.18067@osuunx.ucc.okstate.edu>
  8. Date: Mon, 16 Nov 1992 18:17:47 GMT
  9. Lines: 32
  10.  
  11. In article <1992Nov11.215409.18067@osuunx.ucc.okstate.edu> martin@datacomm.ucc.okstate.edu (Martin McCormick) writes:
  12.  
  13. >First, I completely agree with Jeff's enthusiasm for this system.  It is good
  14. >and probably is the wave of the future.  I do have one gripe, however.
  15. >As I have said, in other postings, Postscript is a half-finished job until
  16. >somebody comes up with a method for converting it back into standard ASCII
  17. >text like the lines you are reading, now.
  18.  
  19. I think GNU Ghostscript has an ASCII output option that will generate
  20. text positioned approximately where it is supposed to be on a page
  21. with anything else omitted.  
  22.  
  23. > The windows-oriented approach is
  24. >totally useless for those of us who are blind and use speech synthesizers.
  25. >We were able to cobble together a small C program to strip out all that
  26. >Postscript language and display a completely deformatted stream of data.
  27. >It beats nothing, though not by much.  I would love to help fix this problem,
  28. >but I need to find a document explaining Postscript in electronic form so
  29. >I can read it and figure out how to tackle this beast.
  30.  
  31. It's non-trivial in the general case because you have to be able to handle
  32. the entire postscript language to interpret the positioning and scaling
  33. effects.  Plus you'll miss things where fonts have been converted to
  34. curves and manipulated for artistic but still readable effects.  A
  35. quick and dirty approach is to just extract the strings in parens
  36. from the postscript and try to assemble them into text.  A more ambitious
  37. project would be to modify the Ghostscript ascii output to maintain
  38. some font size and type info that could be used by the speech synthesizer
  39. to vary the output effects.
  40.  
  41. Les Mikesell
  42.   les@fb.com
  43.