stb_truetype: added comment about stbtt_FindGlyphIndex() return value.

This commit is contained in:
Omar Cornut 2018-03-08 17:13:18 +01:00
parent e6afb9cbae
commit cc99df4b48
1 changed files with 1 additions and 0 deletions

View File

@ -733,6 +733,7 @@ STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codep
// and you want a speed-up, call this function with the character you're
// going to process, then use glyph-based functions instead of the
// codepoint-based functions.
// Returns 0 if the character codepoint is not defined in the font.
//////////////////////////////////////////////////////////////////////////////