From bfa83bdc273812617615abbba8c90c6b1143dacf Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 29 Sep 2016 19:51:28 +0200 Subject: [PATCH] Comments. --- include/freetype/freetype.h | 12 ++++++++++++ src/sfnt/ttload.c | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 10503fdd0..a81eb7232 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -2338,6 +2338,18 @@ FT_BEGIN_HEADER /* */ /* FreeType error code. 0~means success. */ /* */ + /* */ + /* 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 a653a7186..d615bba04 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -679,7 +679,7 @@ /*************************************************************************/ /* */ /* */ - /* tt_face_load_max_profile */ + /* tt_face_load_maxp */ /* */ /* */ /* Loads the maximum profile into a face object. */