[gs-cvs] rev 7760 - in trunk/gs: doc src
leonardo at ghostscript.com
leonardo at ghostscript.com
Sun Mar 4 09:08:25 PST 2007
Author: leonardo
Date: 2007-03-04 09:08:25 -0800 (Sun, 04 Mar 2007)
New Revision: 7760
Modified:
trunk/gs/doc/pscet_status.txt
trunk/gs/src/zupath.c
Log:
Fix (user paths) : Remove the uneven behavior with uappend.
DETAILS :
1. uappend was fixed to ignore the incorrfect placement of ucache
in the CPSI compatibility mode.
However in contradiction to other user path operators,
CPSI has no uneven behavior with uappend,
so changing upath back to the regular behavior.
2. Don't change current point if uappend fails.
Likely it was an inaccuracy in a recent patch.
3. Change other user path assignment for more efficiency.
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt 2007-03-04 16:41:00 UTC (rev 7759)
+++ trunk/gs/doc/pscet_status.txt 2007-03-04 17:08:25 UTC (rev 7760)
@@ -1959,13 +1959,7 @@
11-22-2 OK Minor differences visually reviewed by RJJ
-11-22-3 DIFF uappend; assign igor
- Note: as of rev 7229, GS doesn't issue typecheck error when 'ucache'
- is not the first element. Differs from rev 7220. (see also 11-28-5)
- Rev. 7220 matches Distiller 5 but doesn't match Tek or CPSI, which
- ignore most of the user path errors. IMHO, all upath cases can
- be classified as AOK. Reassigning the case to Raph who owns all
- other upath cases. - Alex
+11-22-3 AOK CPSI is wrong with the invalid test "User path must start with absolute point".
11-22-4 OK
@@ -1994,7 +1988,7 @@
11-24-2 OK
-11-24-3 DIFF ueofill; Analyzed by Igor. assign: Raph.
+11-24-3 DIFF ueofill; assign Igor
11-24-4 OK
@@ -2010,7 +2004,7 @@
11-25-2 OK
-11-25-3 DIFF more ucache discrepancies similar to 11-24-3 assign: Raph
+11-25-3 DIFF ufill; assign Igor
11-25-4 OK
@@ -2048,7 +2042,7 @@
11-27-2 OK
-11-27-3 DIFF more ucache discrepancies similar to 11-23-3 assign: Raph
+11-27-3 DIFF ustroke; assign Igor
11-27-4 OK
Modified: trunk/gs/src/zupath.c
===================================================================
--- trunk/gs/src/zupath.c 2007-03-04 16:41:00 UTC (rev 7759)
+++ trunk/gs/src/zupath.c 2007-03-04 17:08:25 UTC (rev 7760)
@@ -349,13 +349,13 @@
if (code < 0)
return code;
- if ((code = upath_append(op, i_ctx_p, CPSI_mode)) >= 0)
+ if ((code = upath_append(op, i_ctx_p, false)) >= 0)
code = gs_upmergepath(igs);
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);
- if (code < 0)
- return code;
pop(1);
return 0;
}
More information about the gs-cvs
mailing list