--- rxvt-unicode/src/rxvtfont.C 2004/11/21 20:19:24 1.48 +++ rxvt-unicode/src/rxvtfont.C 2004/12/04 02:56:06 1.52 @@ -348,6 +348,11 @@ int W = r->TermWin.fwidth; int H = r->TermWin.fheight; + // support double-width (but not more) graphics chars + // TODO: do this outside the if/elsif.. statement for all cases + if (len && *text == NOCHAR) + W += r->TermWin.fwidth; + int x_[16]; int y_[16]; @@ -1058,7 +1063,8 @@ FcValue v; if (prop.height != rxvt_fontprop::unset - || FcPatternGet (p, FC_PIXEL_SIZE, 0, &v) != FcResultMatch) + || (FcPatternGet (p, FC_PIXEL_SIZE, 0, &v) != FcResultMatch + && FcPatternGet (p, FC_SIZE, 0, &v) != FcResultMatch)) FcPatternAddInteger (p, FC_PIXEL_SIZE, prop.height); if (prop.weight != rxvt_fontprop::unset