🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6127

Flattenpath (was letter height)

#6127
From: Christopher Tate
Date: Tue, 28 May 1991 17:54
19 lines
1173 bytes
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     |
Technical Details
Message-ID: <91148.135401CXT105@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!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
References: <1991May28.134420.3951@engage.pko.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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