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

Comparing rxvt-unicode/src/defaultfont.C (file contents):
Revision 1.10 by pcg, Wed Dec 24 09:07:01 2003 UTC vs.
Revision 1.11 by pcg, Wed Dec 24 09:40:30 2003 UTC

736 FcPatternAddInteger (p, FC_WEIGHT, prop.weight); 736 FcPatternAddInteger (p, FC_WEIGHT, prop.weight);
737 737
738 if (FcPatternGet (p, FC_SLANT, 0, &v) != FcResultMatch) 738 if (FcPatternGet (p, FC_SLANT, 0, &v) != FcResultMatch)
739 FcPatternAddInteger (p, FC_SLANT, prop.slant); 739 FcPatternAddInteger (p, FC_SLANT, prop.slant);
740 740
741#if 0 // clipping unfortunately destroys our precious double-width-characters
741 // clip width, we can't do better, or can we? 742 // clip width, we can't do better, or can we?
742 if (FcPatternGet (p, FC_CHAR_WIDTH, 0, &v) != FcResultMatch) 743 if (FcPatternGet (p, FC_CHAR_WIDTH, 0, &v) != FcResultMatch)
743 FcPatternAddInteger (p, FC_CHAR_WIDTH, prop.width); 744 FcPatternAddInteger (p, FC_CHAR_WIDTH, prop.width);
745#endif
744 746
745 //FcPatternAddBool (p, FC_MINSPACE, 1); 747 //FcPatternAddBool (p, FC_MINSPACE, 1);
746 748
747 XftResult result; 749 XftResult result;
748 FcPattern *match = XftFontMatch (DISPLAY, DefaultScreen (DISPLAY), p, &result); 750 FcPattern *match = XftFontMatch (DISPLAY, DefaultScreen (DISPLAY), p, &result);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines