… | |
… | |
109 | |
109 | |
110 | rxvt_font *new_font (const char *name, codeset cs); |
110 | rxvt_font *new_font (const char *name, codeset cs); |
111 | |
111 | |
112 | bool populate (const char *desc); |
112 | bool populate (const char *desc); |
113 | int find_font (uint32_t unicode, bool bold = false); |
113 | int find_font (uint32_t unicode, bool bold = false); |
|
|
114 | int find_font (const char *name) const; |
114 | |
115 | |
115 | // font-id's MUST fit into a signed 16 bit integer. |
116 | // font-id's MUST fit into a signed 16 bit integer. |
116 | rxvt_font *operator [] (int id) const |
117 | rxvt_font *operator [] (int id) const |
117 | { |
118 | { |
118 | return fonts[id]; |
119 | return fonts[id]; |