|
@@ -915,7 +915,6 @@ int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint)
|
|
|
// now decrement to bias correctly to find smallest
|
|
// now decrement to bias correctly to find smallest
|
|
|
search -= 2;
|
|
search -= 2;
|
|
|
while (entrySelector) {
|
|
while (entrySelector) {
|
|
|
- stbtt_uint16 start, end;
|
|
|
|
|
searchRange >>= 1;
|
|
searchRange >>= 1;
|
|
|
start = ttUSHORT(data + search + 2 + segcount*2 + 2);
|
|
start = ttUSHORT(data + search + 2 + segcount*2 + 2);
|
|
|
end = ttUSHORT(data + search + 2);
|
|
end = ttUSHORT(data + search + 2);
|
|
@@ -2062,4 +2061,4 @@ int stbtt_FindMatchingFont(const unsigned char *font_collection, const char *nam
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#endif // STB_TRUETYPE_IMPLEMENTATION
|
|
|
|
|
|
|
+#endif // STB_TRUETYPE_IMPLEMENTATION
|