Fix for 687453 Problem with overprinting and shading.
"Dan Coby" <[email protected]> Fri, 21 May 2004 11:39:09 -0700
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
Fix for 687453 Problem with overprinting and shading.
DETAILS:
The given test file is a PDF file. PDF allows for separate overprint
parameters for stroke and fill operations. (There are also separate
parameters for other conditions in PDF.) Usually this is handled by
the PDF interpreter by calling either setfillstate or setstrokestate
at the start of the handler for each operator. However this call
was missing from the sh (shfill) handler.
Dan
Index: lib/pdf_draw.ps
===================================================================
RCS file: /cvs/ghostscript/gs/lib/pdf_draw.ps,v
retrieving revision 1.80
diff -u -r1.80 pdf_draw.ps
--- a/lib/pdf_draw.ps 24 Mar 2004 06:38:48 -0000 1.80
+++ b/lib/pdf_draw.ps 21 May 2004 18:30:19 -0000
@@ -766,7 +766,7 @@
/b* { b* } def
/W { W } def
/W* { W* } def
- /sh { resolvesh shfill } def
+ /sh { setfillstate resolvesh shfill } def
end
% ---------------- XObjects ---------------- %