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.92 by root, Mon Jan 30 04:53:30 2006 UTC vs.
Revision 1.93 by root, Tue Jan 31 00:25:16 2006 UTC

1308 if (fc != ' ') // skip spaces 1308 if (fc != ' ') // skip spaces
1309 { 1309 {
1310 FT_UInt glyph = XftCharIndex (disp, f, fc); 1310 FT_UInt glyph = XftCharIndex (disp, f, fc);
1311 XftGlyphExtents (disp, f, &glyph, 1, &extents); 1311 XftGlyphExtents (disp, f, &glyph, 1, &extents);
1312 1312
1313
1314 ep->glyph = glyph; 1313 ep->glyph = glyph;
1315 ep->x = x + (cwidth - extents.xOff >> 1); 1314 ep->x = x + (cwidth - extents.xOff >> 1);
1316 ep->y = y + ascent; 1315 ep->y = y + ascent;
1317 1316
1318 if (extents.xOff == 0) 1317 if (extents.xOff == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines