--- rxvt-unicode/src/rxvtfont.C 2004/08/16 12:04:57 1.4 +++ rxvt-unicode/src/rxvtfont.C 2004/08/17 01:58:17 1.6 @@ -966,7 +966,7 @@ { clear_rect (d, x, y, r->TermWin.fwidth * len, r->TermWin.fheight, bg); - if (!slow && width == r->TermWin.fwidth && 0) + if (0 && !slow && width == r->TermWin.fwidth) { if (sizeof (text_t) == sizeof (FcChar16)) XftDrawString16 (d, &r->pix_colors[fg].c, f, x, y + r->TermWin.fbase, (const FcChar16 *)text, len); @@ -1223,6 +1223,7 @@ // only xft currently supported, as there is no // way to configure this and xft is easier to hack in, // while x11 has more framework in place already. + // TODO: bold is being ignroed (obviously). #if XFT // grab the first xft font that seems suitable FcPattern *p = FcPatternCreate (); @@ -1234,7 +1235,7 @@ // a non-matching font even if a better font is available :/ FcPatternAddInteger (p, FC_PIXEL_SIZE, base_prop.height); - FcPatternAddInteger (p, FC_WEIGHT, base_prop.weight); + FcPatternAddInteger (p, FC_WEIGHT, bold ? rxvt_fontprop::bold : base_prop.weight); FcPatternAddInteger (p, FC_SLANT, base_prop.slant); FcPatternAddBool (p, FC_MINSPACE, 1); //FcPatternAddBool (p, FC_ANTIALIAS, 1);