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.147 by ayin, Sat Jan 26 14:26:49 2008 UTC vs.
Revision 1.149 by ayin, Thu Feb 21 13:45:28 2008 UTC

1133 FcPatternAddInteger (p, FC_SLANT, prop.slant); 1133 FcPatternAddInteger (p, FC_SLANT, prop.slant);
1134 1134
1135#if 0 // clipping unfortunately destroys our precious double-width-characters 1135#if 0 // clipping unfortunately destroys our precious double-width-characters
1136 // clip width, we can't do better, or can we? 1136 // clip width, we can't do better, or can we?
1137 if (FcPatternGet (p, FC_CHAR_WIDTH, 0, &v) != FcResultMatch) 1137 if (FcPatternGet (p, FC_CHAR_WIDTH, 0, &v) != FcResultMatch)
1138 FcPatternAddInteger (p, FC_CHAR_WIDTH, prop->width); 1138 FcPatternAddInteger (p, FC_CHAR_WIDTH, prop.width);
1139#endif 1139#endif
1140 1140
1141 if (FcPatternGet (p, FC_MINSPACE, 0, &v) != FcResultMatch) 1141 if (FcPatternGet (p, FC_MINSPACE, 0, &v) != FcResultMatch)
1142 FcPatternAddBool (p, FC_MINSPACE, 1); 1142 FcPatternAddBool (p, FC_MINSPACE, 1);
1143 1143
1297 1297
1298 int w = term->fwidth * len; 1298 int w = term->fwidth * len;
1299 int h = term->fheight; 1299 int h = term->fheight;
1300 1300
1301 bool buffered = bg >= Color_transparent 1301 bool buffered = bg >= Color_transparent
1302 && term->option (Opt_buffered); 1302 && term->option (Opt_buffered);
1303 1303
1304 // cut trailing spaces 1304 // cut trailing spaces
1305 while (len && text [len - 1] == ' ') 1305 while (len && text [len - 1] == ' ')
1306 len--; 1306 len--;
1307 1307

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines