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.82 by root, Mon Jan 9 07:35:07 2006 UTC vs.
Revision 1.83 by root, Mon Jan 9 07:35:23 2006 UTC

1269void 1269void
1270rxvt_font_xft::draw (rxvt_drawable &d, int x, int y, 1270rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
1271 const text_t *text, int len, 1271 const text_t *text, int len,
1272 int fg, int bg) 1272 int fg, int bg)
1273{ 1273{
1274 clear_rect (d, x, y, r->fwidth * len, r->fheight, bg);
1275
1276 XGlyphInfo extents; 1274 XGlyphInfo extents;
1277 XftGlyphSpec *enc = (XftGlyphSpec *)get_enc_buf (len * sizeof (XftGlyphSpec)); 1275 XftGlyphSpec *enc = (XftGlyphSpec *)get_enc_buf (len * sizeof (XftGlyphSpec));
1278 XftGlyphSpec *ep = enc; 1276 XftGlyphSpec *ep = enc;
1277
1278 clear_rect (d, x, y, r->fwidth * len, r->fheight, bg);
1279 1279
1280 // cut trailing spaces 1280 // cut trailing spaces
1281 while (len && text [len - 1] == ' ') 1281 while (len && text [len - 1] == ' ')
1282 len--; 1282 len--;
1283 1283

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines