From: handa Date: Wed, 17 Mar 2004 23:19:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80bdfe8c6a88b4c816975c3575603e545ab69ccb;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/src/draw.c b/src/draw.c index be694fe..e1882b4 100644 --- a/src/draw.c +++ b/src/draw.c @@ -1129,7 +1129,8 @@ render_glyphs (MFrame *frame, MDrawWindow win, int x, int y, int width, rect.x += rect.width; if (rect.x < x + width) { - while (g != gend && x + width - gend[-1].width >= rect.x) + while (g != gend + && (x + width - gend[-1].width + gend[-1].lbearing >= rect.x)) { width -= (--gend)->width; while (! gend->enabled && g != gend)