shithub: freetype+ttf2subf

Download patch

ref: a607e3919d2445942ca58b126b060b262e023e16
parent: 0ad326236607df0802dc72c4f13b3f35484b7672
author: Werner Lemberg <[email protected]>
date: Thu Jun 1 13:03:07 EDT 2017

Minor comment.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ftglyph.h
+++ b/include/freetype/ftglyph.h
@@ -231,6 +231,12 @@
   /* <Return>                                                              */
   /*    FreeType error code.  0~means success.                             */
   /*                                                                       */
+  /* <Note>                                                                */
+  /*    Because `*aglyph->advance.x' and '*aglyph->advance.y' are 16.16    */
+  /*    fixed-point numbers, `slot->advance.x' and `slot->advance.y'       */
+  /*    (which are in 26.6 fixed-point format) must be in the range        */
+  /*    ]-32768;32768[.                                                    */
+  /*                                                                       */
   FT_EXPORT( FT_Error )
   FT_Get_Glyph( FT_GlyphSlot  slot,
                 FT_Glyph     *aglyph );