[gs-cvs] rev 8625 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Sun Apr 6 00:53:34 PDT 2008
Author: alexcher
Date: 2008-04-06 00:53:33 -0700 (Sun, 06 Apr 2008)
New Revision: 8625
Modified:
trunk/gs/lib/pdf_draw.ps
Log:
Fix PDF empty stack count (pdfemptycount) in the tiling pattern. Operator
scn depends on the correct value of pdfemptycount. This bug was introduced
in the rev. 8308. Bug 689776.
DIFFERENCES:
None
Modified: trunk/gs/lib/pdf_draw.ps
===================================================================
--- trunk/gs/lib/pdf_draw.ps 2008-04-04 11:30:17 UTC (rev 8624)
+++ trunk/gs/lib/pdf_draw.ps 2008-04-06 07:53:33 UTC (rev 8625)
@@ -740,9 +740,13 @@
q
//null sc1 //null SC1
- % save old value of pdfemptycount on opstack, set to new value
- pdfemptycount /pdfemptycount count 3 sub def 3 1 roll
- countdictstack 3 1 roll
+ % Save old values on opstack, set pdfemptycount to new value.
+ pdfemptycount countdictstack
+ /pdfemptycount count 3 sub def 4 2 roll
+ %
+ % Stack: ... <old emptycount> <dictcount> <patdict> <resdict>
+ % |
+ % New empty count points here -----+
exch //false resolvestream pdfopdict .pdfruncontext
More information about the gs-cvs
mailing list