… | |
… | |
1142 | #if XFT_CHAR_CACHE |
1142 | #if XFT_CHAR_CACHE |
1143 | // we cache the qascii range xoffsets in the name of speed, |
1143 | // we cache the qascii range xoffsets in the name of speed, |
1144 | // expecting terminals to deal mostly with these characters |
1144 | // expecting terminals to deal mostly with these characters |
1145 | // we also assume the xoff always fits into uint8_t, |
1145 | // we also assume the xoff always fits into uint8_t, |
1146 | // which is questionable, but let's see... |
1146 | // which is questionable, but let's see... |
1147 | // also, it is uncomfortably bug, due toit he uints. |
1147 | // also, it is uncomfortably big, due to the uints. |
1148 | enum { char_cache_min = 0x20, char_cache_max = 0x7e }; |
1148 | enum { char_cache_min = 0x20, char_cache_max = 0x7e }; |
1149 | uint8_t xoff_cache [char_cache_max - char_cache_min + 1]; |
1149 | uint8_t xoff_cache [char_cache_max - char_cache_min + 1]; |
1150 | FT_UInt glyph_cache [char_cache_max - char_cache_min + 1]; |
1150 | FT_UInt glyph_cache [char_cache_max - char_cache_min + 1]; |
1151 | #endif |
1151 | #endif |
1152 | |
1152 | |