From cc99df4b4879dd8db7d4a5ec3aa878c56c59d61e Mon Sep 17 00:00:00 2001 From: Omar Cornut Date: Thu, 8 Mar 2018 17:13:18 +0100 Subject: [PATCH] stb_truetype: added comment about stbtt_FindGlyphIndex() return value. --- stb_truetype.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stb_truetype.h b/stb_truetype.h index a08e929..4869e0f 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -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. //////////////////////////////////////////////////////////////////////////////