ref: 4bf221964ca0f1db75c3fb7b08984fd50314a0a9
parent: 96ddc679be2641a67427a3d3331056cb155bc2cf
author: Werner Lemberg <[email protected]>
date: Wed Jun 29 05:45:51 EDT 2011
Improve documentation of FT_Get_Glyph_Name.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2916,6 +2916,10 @@
/* The glyph name is truncated to fit within the buffer if it is too */
/* long. The returned string is always zero-terminated. */
/* */
+ /* Be aware that FreeType reorders glyph indices internally so that */
+ /* glyph index~0 always corresponds to the `missing glyph' (called */
+ /* `.notdef'). */
+ /* */
/* This function is not compiled within the library if the config */
/* macro `FT_CONFIG_OPTION_NO_GLYPH_NAMES' is defined in */
/* `include/freetype/config/ftoptions.h'. */