[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master bfa83bd 2/3: Comments.
From: |
Werner LEMBERG |
Subject: |
[freetype2] master bfa83bd 2/3: Comments. |
Date: |
Thu, 29 Sep 2016 17:54:03 +0000 (UTC) |
branch: master
commit bfa83bdc273812617615abbba8c90c6b1143dacf
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
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 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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master bfa83bd 2/3: Comments.,
Werner LEMBERG <=