… | |
… | |
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 | |
105 | private: |
114 | private: |
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; |