[gs-cvs] gs/src

Raph Levien raph at casper.ghostscript.com
Wed Aug 21 10:41:02 PDT 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv27365/src

Modified Files:
	gsdps1.c 
Log Message:
Fix: Make rectfill of shadings always take gs_fill path, ensuring
high level pdfwrite rendering.


Index: gsdps1.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gsdps1.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gsdps1.c	21 Feb 2002 22:24:52 -0000	1.4
+++ gsdps1.c	21 Aug 2002 17:41:00 -0000	1.5
@@ -152,6 +152,10 @@
 	 is_fzero2(pgs->ctm.xx, pgs->ctm.yy)) &&
 	gx_effective_clip_path(pgs, &pcpath) >= 0 &&
 	clip_list_is_rectangle(gx_cpath_list(pcpath)) &&
+	(pgs->dev_color->type == gx_dc_type_pure ||
+	 pgs->dev_color->type == gx_dc_type_ht_binary ||
+	 pgs->dev_color->type == gx_dc_type_ht_colored
+	 /* DeviceN todo: add wts case */) &&
 	gs_state_color_load(pgs) >= 0 &&
 	(*dev_proc(pgs->device, get_alpha_bits)) (pgs->device, go_graphics)
 	<= 1




More information about the gs-cvs mailing list