Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Displaying Postscript?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-01-28 (21:35)
From: Didier Le Botlan <lebotlan@b...>
Subject: Re: [Caml-list] Displaying Postscript?
Robert Morelli wrote:
> I'm working on an OCaml application which I'd like 
> to do the following:  load an existing postscript 
> file from disk, launch a window in which the 
> document is displayed,  and allow the user to select a
> rectangle on a page of the document using the mouse
> (and of course have access to the bounds of the rectangle
> within the application).  What libraries/tools are 
> available to do such a thing?

I once wrote a program which only displayed postscript, and I used 
ghostscript. That is, my program calls Unix.open_process_out, with the 
expected arguments. This is not handy at all, since interfacing with 
ghostscript is painful, but I do not know any better solution.
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: