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