--- rxvt-unicode/src/rxvtfont.C 2006/01/09 07:17:24 1.80 +++ rxvt-unicode/src/rxvtfont.C 2006/01/09 07:19:18 1.81 @@ -1273,13 +1273,11 @@ { clear_rect (d, x, y, r->fwidth * len, r->fheight, bg); - int base = ascent; // should be fbase, but that is incorrect - XGlyphInfo extents; XftGlyphSpec *enc = (XftGlyphSpec *) get_enc_buf (len * sizeof (XftGlyphSpec)); XftGlyphSpec *ep = enc; - // skip trailing spaces + // cut trailing spaces while (len && text [len - 1] == ' ') len--; @@ -1298,7 +1296,7 @@ ep->glyph = gl; ep->x = x + (cwidth - extents.xOff >> 1); - ep->y = y + base; + ep->y = y + ascent; ep++; }