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

Comparing rxvt-unicode/src/rxvtfont.h (file contents):
Revision 1.43 by sf-exg, Tue Jun 21 12:03:56 2016 UTC vs.
Revision 1.46 by root, Thu Jun 17 19:37:28 2021 UTC

99 find_font (unicode_t unicode) 99 find_font (unicode_t unicode)
100 { 100 {
101 return min<int> ((fontCount << 1) | 1, find_font_idx (unicode)); 101 return min<int> ((fontCount << 1) | 1, find_font_idx (unicode));
102 } 102 }
103 103
104 // find the font containing ' ' - we always assume this is font 1, as
105 // every font should contain space, and font 1 is our base font.
106 // pango assumes this, so it must be correct!
107 int
108 find_space_font ()
109 {
110 return 1 << 1;
111 }
112
104private: 113private:
105 rxvt_term *term; 114 rxvt_term *term;
106 rxvt_fontprop prop; 115 rxvt_fontprop prop;
107 bool force_prop; 116 bool force_prop;
108 simplevec<rxvt_font *> fonts; 117 simplevec<rxvt_font *> fonts;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines