Commit d89f64627b33f5ba482a93a14c38afea595ccfc2

Werner Lemberg 2016-06-25T08:14:36

More info on `FT_Err_Glyph_Too_Big'.

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 95a3895..9550c60 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2578,6 +2578,10 @@ FT_BEGIN_HEADER
   /*    don't have a corresponding glyph in the font).  See the discussion */
   /*    of the @FT_FACE_FLAG_CID_KEYED flag for more details.              */
   /*                                                                       */
+  /*    If you receive `FT_Err_Glyph_Too_Big', try getting the glyph       */
+  /*    outline at EM size, then scale it manually and fill it as a        */
+  /*    graphics operation.                                                */
+  /*                                                                       */
   FT_EXPORT( FT_Error )
   FT_Load_Glyph( FT_Face   face,
                  FT_UInt   glyph_index,