From 197f25f3b8fa5b652de27cf3c5885dba66bcd6cd Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 20 Nov 2007 02:52:14 +0000 Subject: [PATCH] (xft_render): Check adjusted flag of glyphs. --- src/m17n-X.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 1.7.10.4