ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtfont.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtfont.C (file contents):
Revision 1.138 by root, Wed Jan 23 13:34:20 2008 UTC vs.
Revision 1.139 by root, Wed Jan 23 14:09:21 2008 UTC

1304 */ 1304 */
1305 bool buffered = bg >= Color_transparent; 1305 bool buffered = bg >= Color_transparent;
1306#ifdef FORCE_UNBUFFERED_XFT 1306#ifdef FORCE_UNBUFFERED_XFT
1307 buffered = false; 1307 buffered = false;
1308#endif 1308#endif
1309 buffered=false;//D
1309 1310
1310 // cut trailing spaces 1311 // cut trailing spaces
1311 while (len && text [len - 1] == ' ') 1312 while (len && text [len - 1] == ' ')
1312 len--; 1313 len--;
1313 1314
1393 XRenderComposite (disp, PictOpOver, solid_color_pict, None, dst, 0, 0, 0, 0, 0, 0, w, h); 1394 XRenderComposite (disp, PictOpOver, solid_color_pict, None, dst, 0, 0, 0, 0, 0, 0, w, h);
1394 } 1395 }
1395 } 1396 }
1396 else 1397 else
1397#endif 1398#endif
1398 XftDrawRect (d2, &term->pix_colors[bg < 0 ? Color_bg : bg].c, 0, 0, w, h); 1399 XftDrawRect (d2, &term->pix_colors[bg == Color_transparent ? Color_bg : bg].c, 0, 0, w, h);
1399 1400
1400 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); 1401 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);
1401 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y); 1402 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);
1402 } 1403 }
1403 else 1404 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines