From 464f8566d330d4f3d3952f37c9e9bfcd43361bf2 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 23 Jan 2004 08:49:11 +0000 Subject: [PATCH] (get_composition_id): Handle xoff and yoff in a composition rule. --- src/composite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composite.c b/src/composite.c index ea85e2fa506..e27221c59fb 100644 --- a/src/composite.c +++ b/src/composite.c @@ -336,7 +336,7 @@ get_composition_id (charpos, bytepos, nchars, prop, string) 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 @@ get_composition_id (charpos, bytepos, nchars, prop, string) | | 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); -- 2.39.2