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.44 by root, Thu Jun 17 00:49:20 2021 UTC vs.
Revision 1.45 by root, Thu Jun 17 11:01:57 2021 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines