From 2a6dfd05090ab3a97b139ae42679314ec39608f1 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 5 Aug 2004 08:29:42 +0000 Subject: [PATCH] (mfont__ft_drive_otf): Fix previous change. --- src/font-ft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font-ft.c b/src/font-ft.c index 4f8e113..f40d383 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -1097,8 +1097,8 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, if (otfg->f.f4.mark_anchor->AnchorFormat != 1) adjust_anchor (otfg->f.f4.mark_anchor, ft_info->ft_face, g->code, size, &mark_x, &mark_y); - g->xoff = (base_x - prev->width) - mark_x; - g->yoff = mark_y - base_y; + g->xoff = prev->xoff + (base_x - prev->width) - mark_x; + g->yoff = prev->yoff + mark_y - base_y; g->combining_code = MAKE_COMBINING_CODE_BY_CLASS (0); } break; -- 1.7.10.4