--- rxvt-unicode/src/rxvtfont.h 2016/06/21 12:03:56 1.43 +++ rxvt-unicode/src/rxvtfont.h 2021/06/17 11:01:57 1.45 @@ -34,6 +34,7 @@ char *name; codeset cs; bool loaded; // whether we tried loading it before (not whether it's loaded) + bool can_compose; // whether the font composes glyphs itself or not, should be a class method, but.. speed.... // managed by the font object int ascent, descent, @@ -101,6 +102,15 @@ return min ((fontCount << 1) | 1, find_font_idx (unicode)); } + // find the font containing ' ' - we always assume this is font 1, as + // every font should contain space, and font 1 is our base font. + // pango assumes this, so it must be correct! + int + find_space_font () + { + return 1 << 1; + } + private: rxvt_term *term; rxvt_fontprop prop;