changeset 89726:2660b0974edb

(get_composition_id): Handle xoff and yoff in a composition rule.
author Kenichi Handa <handa@m17n.org>
date Fri, 23 Jan 2004 08:49:11 +0000
parents 39563e1a1b64
children 8c94cc7390e6
files src/composite.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/composite.c	Fri Jan 23 08:48:19 2004 +0000
+++ b/src/composite.c	Fri Jan 23 08:49:11 2004 +0000
@@ -336,7 +336,7 @@
 
       for (i = 1; i < glyph_len; i += 2)
 	{
-	  int rule, gref, nref;
+	  int rule, gref, nref, xoff, yoff;
 	  int this_width;
 	  float this_left;
 
@@ -358,7 +358,7 @@
 		|       |
 		6---7---8 -- descent
 	  */
-	  COMPOSITION_DECODE_RULE (rule, gref, nref);
+	  COMPOSITION_DECODE_RULE (rule, gref, nref, xoff, yoff);
 	  this_left = (leftmost
 		       + (gref % 3) * (rightmost - leftmost) / 2.0
 		       - (nref % 3) * this_width / 2.0);