🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2263

Re: Multiple flattenpaths

#2263
From: Peter Funk
Date: Sat, 02 Jun 1990 12:20
30 lines
1907 bytes
cosell@bbn.com (Bernie Cosell) writes:

[...]
bc>        strokepath
bc>        flattenpath
bc>        ...lots of irrelevant stuff
bc>        flattenpath

bc> and the second flattenpath fails [I don't actually know why, because it
bc> is in a 'stopped' protected region [in both cases, it turns out], and
bc> what I know is that the stopped is failing, and limitcheck is the only
bc> listed error for flattenpath.  I'd have thought that doing a second
bc> flattenpath would be a no-op... is there something obvious I'm missing
bc> or might this be some kind of obscure bug (horrors!) in the PS
bc> interpreter I'm using [UltraScript on an Imagen printer].
[....]

How should the interpreter "know", that the path was previously flattened ?
Indeed the interpreter-writer may have added a boolean flag to the path...
obviously he has missed that.  So the interpreter tries to create a 
temporary copy of the path during the second 'flattenpath' and rans out 
of memory during this attempt.

May be: I should better add such a boolean "already-flat"-flag to OUR 
ps-clone... ? ;-)
Peter Funk \\ ArtCom GmbH, Schwachhauser Heerstr. 78, D-2800 Bremen 1
Work at home: Oldenburger Str.86, D-2875 Ganderkesee 1 /+49 4222 6018 (8am-6pm)
>> PLEASE Don't send BIG mails (oversea) ! I've to pay for it : $0.3/kB
   Don't use the bang path of this news article for mails (They will bounce).
   Only the address 'pf@artcom0.artcom.north.de' will work. Thank You ! <<
Technical Details
Message-ID: <2064@artcom0.artcom.north.de>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!ira.uka.de!smurf!gopnbg!mcshh!artcom0!pf
References: <56864@bbn.BBN.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!ira.uka.de!smurf!gopnbg!mcshh!artcom0!pf
From: pf@artcom0.artcom.north.de (Peter Funk)
Newsgroups: comp.lang.postscript
Subject: Re: Multiple flattenpaths
Message-ID: <2064@artcom0.artcom.north.de>
Date: 2 Jun 90 12:20:45 GMT
References: <56864@bbn.BBN.COM>
Distribution: comp,world
Organization: ArtCom GmbH, Atelier f. Computergrafik, Bremen(FRG)
Lines: 30