Article View: adobe.postscript.programming
Article #443Re: Unexpected interaction of gsave and setbbox
From: Helge_Blischke
Date: Fri, 29 Dec 2006 14:14
Date: Fri, 29 Dec 2006 14:14
10 lines
1294 bytes
1294 bytes
I guess that it succeeds with the presence of the gsave is a bug. According to the definition of setbbox, the current path (even under construction) must fit completely into the interior of the rectangle defined by the setbbox operator. If you replace the "10 10 15 15 setbbox" by, e.g. "0.1 setlinewidth 0 setlinejoin 10 10 5 5 rectstroke", you will see that the "ugu" string exceeds the rectangle (the lower part of the gand the complete second u). Thus, failing (causing a rangecheck error) is the expected and correct behaviour. Helge
Technical Details
Message-ID:
<3bc2ae9e.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossingReferences:
<D44ECE8FF208B29E9F9306F36A67D36E@in.webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,2e8ca478602ebda6 X-Google-Attributes: gid10c61a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Helge_Blischke@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.postscript.programming Subject: Re: Unexpected interaction of gsave and setbbox Message-ID: <3bc2ae9e.0@webcrossing.la2eafNXanI> Date: Fri, 29 Dec 2006 06:14:40 -0800 References: <D44ECE8FF208B29E9F9306F36A67D36E@in.webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit