… | |
… | |
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 | |
104 | private: |
113 | private: |
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; |