From: handa Date: Thu, 5 Aug 2004 08:29:42 +0000 (+0000) Subject: (mfont__ft_drive_otf): Fix previous change. X-Git-Tag: REL-1-1-0~36 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2a6dfd05090ab3a97b139ae42679314ec39608f1;p=m17n%2Fm17n-lib.git (mfont__ft_drive_otf): Fix previous change. --- 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;