Commit bfa83bdc273812617615abbba8c90c6b1143dacf

Werner Lemberg 2016-09-29T19:51:28

Comments.

diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 10503fd..a81eb72 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2338,6 +2338,18 @@ FT_BEGIN_HEADER
   /* <Return>                                                              */
   /*    FreeType error code.  0~means success.                             */
   /*                                                                       */
+  /* <Note>                                                                */
+  /*    For bitmaps embedded in outline fonts it is common that only a     */
+  /*    subset of the available glyphs at a given ppem value is available. */
+  /*    FreeType silently uses outlines if there is no bitmap for a given  */
+  /*    glyph index.                                                       */
+  /*                                                                       */
+  /*    For GX variation fonts, a bitmap strike makes sense only if the    */
+  /*    default instance is active (this is, no glyph variation takes      */
+  /*    place); otherwise, FreeType simply ignores bitmap strikes.  The    */
+  /*    same is true for all named instances that are different from the   */
+  /*    default instance.                                                  */
+  /*                                                                       */
   FT_EXPORT( FT_Error )
   FT_Select_Size( FT_Face  face,
                   FT_Int   strike_index );
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index a653a71..d615bba 100644
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -679,7 +679,7 @@
   /*************************************************************************/
   /*                                                                       */
   /* <Function>                                                            */
-  /*    tt_face_load_max_profile                                           */
+  /*    tt_face_load_maxp                                                  */
   /*                                                                       */
   /* <Description>                                                         */
   /*    Loads the maximum profile into a face object.                      */