… | |
… | |
925 | } |
925 | } |
926 | #endif |
926 | #endif |
927 | |
927 | |
928 | width = 1; |
928 | width = 1; |
929 | |
929 | |
930 | for (uint16_t *t = extent_test_chars + ARRAY_LENGTH(extent_test_chars); t-- > extent_test_chars; ) |
930 | for (uint16_t *t = extent_test_chars + ecb_array_length (extent_test_chars); t-- > extent_test_chars; ) |
931 | { |
931 | { |
932 | if (FROM_UNICODE (cs, *t) == NOCHAR) |
932 | if (FROM_UNICODE (cs, *t) == NOCHAR) |
933 | continue; |
933 | continue; |
934 | |
934 | |
935 | // ignore characters we wouldn't use anyways |
935 | // ignore characters we wouldn't use anyways |
… | |
… | |
1247 | |
1247 | |
1248 | XftUnlockFace (f); |
1248 | XftUnlockFace (f); |
1249 | |
1249 | |
1250 | int glheight = height; |
1250 | int glheight = height; |
1251 | |
1251 | |
1252 | for (uint16_t *t = extent_test_chars + ARRAY_LENGTH(extent_test_chars); t-- > extent_test_chars; ) |
1252 | for (uint16_t *t = extent_test_chars + ecb_array_length (extent_test_chars); t-- > extent_test_chars; ) |
1253 | { |
1253 | { |
1254 | FcChar16 ch = *t; |
1254 | FcChar16 ch = *t; |
1255 | |
1255 | |
1256 | if (cs != CS_UNICODE |
1256 | if (cs != CS_UNICODE |
1257 | && ch > 0x100 |
1257 | && ch > 0x100 |