From c4353db0f82de8529214e79ce1cddad08473d5c2 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 26 Jul 2004 11:38:15 +0000 Subject: [PATCH] (xft_render): Pay attention to members left_padding and right_padding of MGlyph. --- 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 ef46273..36b317b 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -977,7 +977,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++->width) { - if (g->xoff == 0 && g->yoff == 0) + if (g->xoff == 0 && g->yoff == 0 && !g->left_padding && !g->right_padding) glyphs[nglyphs++] = g->code; else { -- 1.7.10.4