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

leonardo at ghostscript.com leonardo at ghostscript.com
Mon Jan 15 02:56:38 PST 2007


Author: leonardo
Date: 2007-01-15 02:56:38 -0800 (Mon, 15 Jan 2007)
New Revision: 7606

Modified:
   trunk/gs/src/gxtype1.c
Log:
Provide the CPSI compatibility for Type1 subglyph placement (continued).

DETAILS :

This change is algorithmically equivalent.
It provides a better data naming and documentation.

1. save_asb is renamed into asb.
2. Improved comments for asb_diff, adxy.
3. Used adxy in the overall_x_offset formula in stead save_adxy.
   The letter is a temporary cell for passing seac info across
   the baze glyph.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/gxtype1.c
===================================================================
--- trunk/gs/src/gxtype1.c	2007-01-13 18:40:16 UTC (rev 7605)
+++ trunk/gs/src/gxtype1.c	2007-01-15 10:56:38 UTC (rev 7606)
@@ -248,7 +248,7 @@
 
     /* Save away all the operands. */
     pcis->seac_accent = fixed2int_var(cstack[3]);
-    pcis->save_asb = asb;
+    pcis->asb = asb;
     pcis->save_lsb = pcis->lsb;
     pcis->save_adxy.x = cstack[0];
     pcis->save_adxy.y = cstack[1];
@@ -286,7 +286,7 @@
 	agdata.memory = pfont->memory;
 	pcis->seac_accent = -1;
 	/* Reset the coordinate system origin */
-	pcis->asb_diff = pcis->save_asb - pcis->save_lsb.x;
+	pcis->asb_diff = pcis->asb - pcis->save_lsb.x;
 	pcis->adxy = pcis->save_adxy;
 	pcis->os_count = 0;	/* clear */
 	/* Clear the ipstack, in case the base character */



More information about the gs-cvs mailing list