Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!samsung!uunet!mcsun!ukc!inmos!des From: des@elberton.inmos.co.uk (David Shepherd) Newsgroups: comp.lang.postscript Subject: Re: Determining the proper BoundingBox ?? Keywords: Postscript programs, BoundingBox comment Message-ID: <2918@ganymede.inmos.co.uk> Date: 10 Nov 89 16:34:53 GMT References: <3094@husc6.harvard.edu> <5553@ubc-cs.UUCP> Sender: news@inmos.co.uk Reply-To: des@inmos.co.uk (David Shepherd) Organization: INMOS Limited, Bristol, UK. Lines: 19 In article <5553@ubc-cs.UUCP> halliday@cc.ubc.ca (Laura Halliday) writes: >In article <3094@husc6.harvard.edu> nowlin@gramian.UUCP (Bill Nowlin) writes: >>Is there a readily available program (PostScript, or even C) that figures >>the smallest bounding box based on the graphics found in a file? > >There is an extremely effective, absolutely foolproof way of doing this. > >Print the page and measure it. If you don't have a ruler calibrated in >points, get one. Even Adobe recommend this - see the EPSF document for >details. better still, prepend a bit of PostScript onto the front of the file to draw a grid on the page so that you can work out directly the bounding box relative to the co-ordianet system in action at the start of the file. A simple shell script in Unix will do all this mechanically for you. david shepherd INMOS ltd