🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3953

Re: Boundingbox???

#3953
From: Berthold K.P. Horn
Date: Tue, 06 Oct 1992 13:20
21 lines
1425 bytes
In article <1992Oct2.114504.26092@dsg.cs.tcd.ie> cjmchale@dsg.cs.tcd.ie (Ciaran McHale) writes:

   In <RMF.92Oct1203636@chopin.cs.columbia.edu> rmf@chopin.cs.columbia.edu
   (Robert M. Fuhrer) writes:

   >[wants to be able to determine how big the output page is so PS
   >programs can scale themselves to fill it]

   The default clipping path is the imagable area of the output page.
   Simply call "clippath flattenpath pathbbox".

Try and avoid doing such things UNLESS you are sure that noone will EVER try
and use this as an inserted figure.  If your graphics is included as an
EPS file somewhere this trick will kill any positioning and scaling done by
the enclosing PS code.  Most annoying that some reall applications produce
code just like this!  In defense, the application importing the PS has to
play games like changing the clipping path...

Berthold K.P. Horn
Cambridge, Massachusetts, USA
Technical Details
Message-ID: <28903@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!wheat-chex!bkph
References: <1992Sep30.135915.6102@donau.et.tudelft.nl> <RMF.92Oct1203636@chopin.cs.columbia.edu> <1992Oct2.114504.26092@dsg.cs.tcd.ie>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!wheat-chex!bkph
From: bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn)
Newsgroups: comp.lang.postscript
Subject: Re: Boundingbox???
Message-ID: <28903@life.ai.mit.edu>
Date: 6 Oct 92 13:20:14 GMT
References: <1992Sep30.135915.6102@donau.et.tudelft.nl> <RMF.92Oct1203636@chopin.cs.columbia.edu> <1992Oct2.114504.26092@dsg.cs.tcd.ie>
Sender: news@ai.mit.edu
Lines: 21
In-reply-to: cjmchale@dsg.cs.tcd.ie's message of 2 Oct 92 11:45:04 GMT