Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!cg-atla!bradlee From: bradlee@cg-atla.UUCP (Rob Bradlee) Newsgroups: comp.lang.postscript Subject: Re: Determining the proper BoundingBox ?? Keywords: Postscript programs, BoundingBox comment Message-ID: <7894@cg-atla.UUCP> Date: 9 Nov 89 12:40:21 GMT References: <3094@husc6.harvard.edu> <5553@ubc-cs.UUCP> <7893@cg-atla.UUCP> Reply-To: bradlee@cg-atla.UUCP (Rob Bradlee) Organization: Agfa Compugraphic Division Lines: 38 In article <7893@cg-atla.UUCP> felleman@cg-atla.UUCP (John Felleman) writes: >In article <5553@ubc-cs.UUCP> halliday@cc.ubc.ca (Laura Halliday) writes: > >Actually, I don't think the EPSF document was recommending that you actually >measure each document you created for export. Rather, the correct bounding >box was defined as what you would get if you did measure it by hand. >-- >John Felleman (508)-658-5600 X7034 >AGFA Compugraphic ...!{ima,ulowell,ism780c}!cg-atla!felleman >200 Ballardvale St. >Wilmington, Mass. 01887 [This space available for rent] I love to disagree with my co-worker and friend John. As I read the EPSF spec it sure sounds to me that Adobe is recommending that you measure by hand to determine the bounding box. If they are saying that you can test the correctness of your calculation by measuring by hand, then they should say so in the next revision of the document. But just to destroy a good theoretical net argument, I'll mess it up with some factual details. Here's the way the spec reads: "Regardless of the coordinate system in which your application operates, here is a fooproof way of determining the correct bounding box: print the page, get out a point ruler, and measure first to the lower left corner, then to the upper right corner, using the lower-left corner of the physical paper as your origin. This works because it measures the end result (the marks on the page), and none of the computation matters. (By the way I really like how they use lower-left unhyphenated and hyphenated in the same paragraph.) -- Rob Bradlee w:(508)-658-5600 X5153 h:(617)-944-5595 AGFA Compugraphic Division. ...!{decvax,samsung}!cg-atla!bradlee 200 Ballardvale St. Wilmington, Mass. 01887 The Nordic Way: Ski till it hurts!