From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28617; Tue, 28 Jan 2003 22:35:20 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28514 for caml-list@pauillac.inria.fr; Tue, 28 Jan 2003 22:35:20 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA15578 for ; Mon, 27 Jan 2003 11:57:49 +0100 (MET) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h0RAvnv24850 for ; Mon, 27 Jan 2003 11:57:49 +0100 (MET) Received: from beaune.inria.fr by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id LAA0000008979; Mon, 27 Jan 2003 11:57:48 +0100 (MET) Message-ID: <3E351094.3030508@beaune.inria.fr> Date: Mon, 27 Jan 2003 11:57:24 +0100 From: Didier Le Botlan Organization: INRIA (Projet CRISTAL) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Morelli CC: caml-list@inria.fr Subject: Re: [Caml-list] Displaying Postscript? References: <1043489812.1395.7.camel@samantha> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners