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.140 by root, Wed Jan 23 14:18:19 2008 UTC vs.
Revision 1.143 by root, Wed Jan 23 15:00: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
1310 1309
1311 // cut trailing spaces 1310 // cut trailing spaces
1312 while (len && text [len - 1] == ' ') 1311 while (len && text [len - 1] == ' ')
1313 len--; 1312 len--;
1314 1313
1394 XRenderComposite (disp, PictOpOver, solid_color_pict, None, dst, 0, 0, 0, 0, 0, 0, w, h); 1393 XRenderComposite (disp, PictOpOver, solid_color_pict, None, dst, 0, 0, 0, 0, 0, 0, w, h);
1395 } 1394 }
1396 } 1395 }
1397 else 1396 else
1398#endif 1397#endif
1399 clear_rect (d, x, y, w, h, bg); 1398 XftDrawRect (d2, &term->pix_colors[bg >= 0 ? bg : Color_bg].c, 0, 0, w, h);
1400 1399
1401 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); 1400 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);
1402 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y); 1401 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);
1403 } 1402 }
1404 else 1403 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines