From: handa Date: Tue, 20 Nov 2007 02:52:14 +0000 (+0000) Subject: (xft_render): Check adjusted flag of glyphs. X-Git-Tag: REL-1-5-0~46 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=197f25f3b8fa5b652de27cf3c5885dba66bcd6cd;p=m17n%2Fm17n-lib.git (xft_render): Check adjusted flag of glyphs. --- diff --git a/src/m17n-X.c b/src/m17n-X.c index 0af354d..acb0904 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -1311,7 +1311,7 @@ xft_render (MDrawWindow win, int x, int y, glyphs = alloca (sizeof (FT_UInt) * (to - from)); for (last_x = x, nglyphs = 0, g = from; g < to; x += g++->g.xadv) { - if (g->g.xoff == 0 && g->g.yoff == 0 && !g->left_padding && !g->right_padding) + if (! g->g.adjusted && !g->left_padding && !g->right_padding) glyphs[nglyphs++] = g->g.code; else {