[gs-cvs] rev 7781 - in trunk/gs: doc src

leonardo at ghostscript.com leonardo at ghostscript.com
Sun Mar 11 10:43:36 PDT 2007


Author: leonardo
Date: 2007-03-11 10:43:34 -0700 (Sun, 11 Mar 2007)
New Revision: 7781

Modified:
   trunk/gs/doc/pscet_status.txt
   trunk/gs/src/gspath.c
   trunk/gs/src/zupath.c
Log:
Fix (user paths) : Wrong current point after uappend closepath.

DETAILS :

The old code missed the subpath starting point after uappend.
Also removing the code for copying current point from path 
in user path operations, because gs_upmergepath now performs this job fine.

EXPECTED DIFFERENCES :

None with comparefiles.

CET 11-07-1.



Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt	2007-03-11 16:29:11 UTC (rev 7780)
+++ trunk/gs/doc/pscet_status.txt	2007-03-11 17:43:34 UTC (rev 7781)
@@ -1654,9 +1654,7 @@
 
 11-06-5  DIFF	GS has extra line: MUCH 15, 30, 31 assign: Igor
 
-11-07-1  DIFF	Circles being drawn in wrong place. 
-		Likely a problem with current point after rendering a text.
-		Tek matches CPSI. Assign: Igor
+11-07-1  OK
 
 11-07-2  OK	Minor differences visually reviewed by RJJ
 

Modified: trunk/gs/src/gspath.c
===================================================================
--- trunk/gs/src/gspath.c	2007-03-11 16:29:11 UTC (rev 7780)
+++ trunk/gs/src/gspath.c	2007-03-11 17:43:34 UTC (rev 7781)
@@ -64,6 +64,7 @@
 	return code;
     if (pgs->current_point_valid) {
 	saved->current_point = pgs->current_point;
+	saved->subpath_start = pgs->subpath_start;
 	saved->current_point_valid = true;
     }
     return code;

Modified: trunk/gs/src/zupath.c
===================================================================
--- trunk/gs/src/zupath.c	2007-03-11 16:29:11 UTC (rev 7780)
+++ trunk/gs/src/zupath.c	2007-03-11 17:43:34 UTC (rev 7781)
@@ -354,8 +354,6 @@
     gs_grestore(igs);
     if (code < 0)
 	return code;
-    igs->current_point.x = fixed2float(igs->path->position.x);
-    igs->current_point.y = fixed2float(igs->path->position.y);
     pop(1);
     return 0;
 }
@@ -751,8 +749,6 @@
 	pop(nargs);
 	return code;
     }
-    igs->current_point.x = fixed2float(igs->path->position.x);
-    igs->current_point.y = fixed2float(igs->path->position.y);
     return 0;
 }
 



More information about the gs-cvs mailing list