Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!polya!rokicki From: rokicki@polya.Stanford.EDU (Tomas G. Rokicki) Newsgroups: comp.sys.amiga Subject: Re: Postscript preview program ? Message-ID: <7395@polya.Stanford.EDU> Date: 3 Mar 89 21:34:49 GMT References: <1741@uwovax.uwo.ca> <58@snll-arpagw.UUCP> <5856@abo.fi> Organization: Stanford University Lines: 27 > -> Has anybody looked into porting the GNU GhostScript? > Porting the GNU GhostScript would be great. I've got the GhostScript 1.2 source and have been working on the port. Some issues come to mind, though: - Any ideas on how to specify (to the device) - Horizontal and Vertical resolution? - Horizontal and Vertical size? Should I use the virtual page library by CLtd for the image (which will allow color and fragmented bitmaps)? Interactive drawing to a window might be nice, too. Should I provide the graphics primitives (including path generation and the like) as a library callable by other routines? This program will require memory, but I'm trying to keep it as small as possible. GhostScript itself does some very nasty stuff internally (grabbing the return address from a jump_buf structure, doing very strange things with the stack frame inside of a procedure, etc.) but I'll give it my best shot. Please, any suggestions at all are appreciated. -Tom Rokicki BIX: radical.eye BBS: (415) 32-RADIO Voice: (415) 32-AMIGA Internet: rokicki@polya.stanford.edu Deep Voice: (415) 326-5312 Snail: Radical Eye Software, Box 2081, Stanford, CA 94309 USA