Article View: comp.lang.postscript
Article #3594Re: Landscape page orientation
From: Jef Poskanzer
Date: Thu, 08 Nov 1990 01:07
Date: Thu, 08 Nov 1990 01:07
19 lines
1183 bytes
1183 bytes
In the referenced message, Gisle.Aas@nr.no wrote:
}> newpath clippath pathbbox newpath % llx lly urx ury
}> 3 -1 roll % llx urx ury lly
}> sub % llx urx height
}> /pageheight exch def % llx urx
}> exch sub % width
}> /pagewidth exch def
}
}To get the right pageheight/width you have to add together ury/x and
}lly/x. The clippath defines an area smaller than the physical page.
You're saying I should add instead of subtracting? That doesn't
make sense to me. Could you be more specific? Provide corrected code
perhaps?
---
Jef
Jef Poskanzer jef@well.sf.ca.us {ucbvax, apple, hplabs}!well!jef
"If two wrongs don't make a right, try three." -- Laurence J. Peter
Technical Details
Message-ID:
<21532@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!well!jefReferences:
<AAS.90Nov7093033@boeygen.nr.no>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!well!jef From: jef@well.sf.ca.us (Jef Poskanzer) Newsgroups: comp.lang.postscript Subject: Re: Landscape page orientation Message-ID: <21532@well.sf.ca.us> Date: 8 Nov 90 01:07:44 GMT References: <AAS.90Nov7093033@boeygen.nr.no> Reply-To: Jef Poskanzer <jef@well.sf.ca.us> Organization: Paratheo-Anametamystikhood Of Eris Esoteric, Ada Lovelace Cabal Lines: 19