--- rxvt-unicode/src/rxvtfont.C 2011/02/21 07:41:03 1.178 +++ rxvt-unicode/src/rxvtfont.C 2011/05/03 08:48:26 1.179 @@ -526,12 +526,16 @@ const text_t *text, int len, int fg, int bg) { - while (len--) + while (len) { int fid = fs->find_font_idx (*text); - (*fs)[fid]->draw (d, x, y, text, 1, fg, bg); - ++text; - x += term->fwidth; + int w = 1; + while (w < len && text[w] == NOCHAR) + w++; + (*fs)[fid]->draw (d, x, y, text, w, fg, bg); + text += w; + len -= w; + x += term->fwidth * w; } } };