[gs-cvs] rev 8018 - trunk/gs/src

leonardo at ghostscript.com leonardo at ghostscript.com
Sun Jun 3 15:33:13 PDT 2007


Author: leonardo
Date: 2007-06-03 15:33:12 -0700 (Sun, 03 Jun 2007)
New Revision: 8018

Modified:
   trunk/gs/src/gxcpath.c
Log:
Fix (shadings) : Optimize path manipulations for shading fill (continued).

DETAILS :

The last patch breaks 'clippath'. Fixing it now.

EXPECTED DIFFERENCES :

Must fix r8017 regressions :
257-01.ps
Bug687546.ps
Bug688000.ps
Bug688327.ps
Bug688822.eps
Bug688895.ps
muur.eps
NECPNTD.pdf
ridt91.eps
tiger.eps


Modified: trunk/gs/src/gxcpath.c
===================================================================
--- trunk/gs/src/gxcpath.c	2007-05-31 17:25:52 UTC (rev 8017)
+++ trunk/gs/src/gxcpath.c	2007-06-03 22:33:12 UTC (rev 8018)
@@ -423,7 +423,7 @@
 	int code;
 
 	gx_path_init_local(&rpath, pcpath->path.memory);
-	code = gx_cpath_to_path_synthesize(pcpath, ppath);
+	code = gx_cpath_to_path_synthesize(pcpath, &rpath);
 	if (code < 0) {
 	    gx_path_free(&rpath, "gx_cpath_to_path error");
 	    return code;
@@ -432,7 +432,6 @@
 	if (code < 0)
 	    return code;
 	pcpath->path_valid = true;
-	return 0;
     }
     return gx_path_assign_preserve(ppath, &pcpath->path);
 }



More information about the gs-cvs mailing list