[fpc-pascal] Pascal postscript reading library

Krishna v.krishnakumar at gmail.com
Wed Apr 23 09:32:18 CEST 2008


On Sun, Apr 20, 2008 at 3:30 AM, Felipe Monteiro de Carvalho
<felipemonteiro.carvalho at gmail.com> wrote:
> Hello,
>
>  I did some googling, and I think there is none, but just in case ...
>  does anyone know a pascal library to read postscript files? Preferably
>  open source. Liberal licensing (linking to proprietary code) is
>  indispensable.
>

How about converting the postscript to PDF and using PDF parsing libs
from pascal?

>  If not then there will be one in a couple of months =)
>

Wow! (even though I feel it is a little too optimistic ;) )


>  I need to interpret information from a .ps file and generate output
>  based on that.
>

Hmm... vague your mail is. What kinda interpretation? If all you want
is to slurp the text then it might be possible but then Postscript is
a full blown programming language and people (mostly) come up with
their own operators for showing text...

As someone else has mentioned, Ghostscript is an option. I remember
reading about the api for accessing the interpreter although long
back.

Cheers,
-Krishna
-- 
One reason that life is complex is that it has a real part and an imaginary part
 -Andrew Koenig



More information about the fpc-pascal mailing list