summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2017-06-01 17:03:07 +0200
committerWerner Lemberg <wl@gnu.org>2017-06-01 17:03:07 +0200
commita607e3919d2445942ca58b126b060b262e023e16 (patch)
tree272831c85a9daab21128a18139fa37e9d5513ee3
parent0ad326236607df0802dc72c4f13b3f35484b7672 (diff)
downloadfreetype2-a607e3919d2445942ca58b126b060b262e023e16.tar.gz
Minor comment.
-rw-r--r--include/freetype/ftglyph.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h
index 5869bc1ce..db1a2c8ba 100644
--- a/include/freetype/ftglyph.h
+++ b/include/freetype/ftglyph.h
@@ -231,6 +231,12 @@ FT_BEGIN_HEADER
/* <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 );