From: handa Date: Tue, 15 Jun 2004 09:07:11 +0000 (+0000) Subject: (xft_find_metric): Fix setting of g->lbrearing. X-Git-Tag: withdl~86 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ccae49d8ac2d5e8034723ad53b56812eb3b32de;p=m17n%2Fm17n-lib.git (xft_find_metric): Fix setting of g->lbrearing. --- diff --git a/src/m17n-X.c b/src/m17n-X.c index ebb0fd5..f1cc4f5 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -1640,7 +1640,7 @@ xft_find_metric (MRealizedFont *rfont, MGlyphString *gstring, XftGlyphExtents (FRAME_DISPLAY (rfont->frame), font_info->font_aa, &code, 1, &extents); - g->lbearing = extents.x; + g->lbearing = - extents.x; g->rbearing = extents.width - extents.x; g->width = extents.xOff; g->ascent = extents.y;