From: handa Date: Mon, 26 Jul 2004 11:38:15 +0000 (+0000) Subject: (xft_render): Pay attention to members left_padding and X-Git-Tag: REL-1-1-0~61 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4353db0f82de8529214e79ce1cddad08473d5c2;p=m17n%2Fm17n-lib.git (xft_render): Pay attention to members left_padding and right_padding of MGlyph. --- 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 {