Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!ncar!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!cxt105 From: CXT105@psuvm.psu.edu (Christopher Tate) Newsgroups: comp.lang.postscript Subject: Flattenpath (was letter height) Message-ID: <91148.135401CXT105@psuvm.psu.edu> Date: 28 May 91 17:54:01 GMT References: <1991May28.134420.3951@engage.pko.dec.com> Distribution: comp.lang.postscript Organization: Penn State University Lines: 19 In article <1991May28.134420.3951@engage.pko.dec.com>, davis@3d.enet.dec.com (Peter Davis) says: > >This is very simple: > > (N) true charpath flattenpath pathbbox > /y2 exch def /x2 exch def /y1 exch def /x1 exch def > /height y2 y1 sub def > newpath I'm curious. Why execute flattenpath before pathbbox? What happens if you omit the call to flattenpath? Shouldn't the above code cause different results based on the value of currentflat? ------- Christopher Tate | | Quidquid latine dictum sit, cxt105@psuvm.psu.edu | altum viditur. cxt105@psuvm.bitnet |