Commit 5955b77b1dee4363cdd047eb06a701b1cb8fd395

Werner Lemberg 2018-03-03T09:21:59

Minor documentation improvement.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 4491729..aeb951c 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2833,6 +2833,10 @@ FT_BEGIN_HEADER
   /*    since its glyph indices are not listed in any of the font's        */
   /*    charmaps.                                                          */
   /*                                                                       */
+  /*    If no active cmap is set up (i.e., `face->charmap' is zero), the   */
+  /*    call to @FT_Get_Char_Index is omitted, and the function behaves    */
+  /*    identically to @FT_Load_Glyph.                                     */
+  /*                                                                       */
   FT_EXPORT( FT_Error )
   FT_Load_Char( FT_Face   face,
                 FT_ULong  char_code,