freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master f27992f 7/8: Minor documentation fixes.


From: Werner LEMBERG
Subject: [freetype2] master f27992f 7/8: Minor documentation fixes.
Date: Mon, 6 Mar 2017 14:47:02 -0500 (EST)

branch: master
commit f27992f295a5f84e9aae45fb07fb649f5d2516f3
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Minor documentation fixes.
---
 include/freetype/freetype.h |  5 ++++-
 include/freetype/ftmm.h     | 13 +++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index cdbb9d1..53896e8 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -911,7 +911,10 @@ FT_BEGIN_HEADER
   /*                           available for the current face if we have a */
   /*                           GX or OpenType variation (sub)font.  Bit 31 */
   /*                           is always zero (this is, `style_flags' is   */
-  /*                           always a positive value).                   */
+  /*                           always a positive value).  Note that a      */
+  /*                           variation font has always at least one      */
+  /*                           named instance, namely the default          */
+  /*                           instance.                                   */
   /*                                                                       */
   /*    num_glyphs          :: The number of glyphs in the face.  If the   */
   /*                           face is scalable and has sbits (see         */
diff --git a/include/freetype/ftmm.h b/include/freetype/ftmm.h
index 96dd625..c41b80e 100644
--- a/include/freetype/ftmm.h
+++ b/include/freetype/ftmm.h
@@ -166,19 +166,19 @@ FT_BEGIN_HEADER
   /*    FT_Var_Named_Style                                                 */
   /*                                                                       */
   /* <Description>                                                         */
-  /*    A structure to model a named style in a TrueType GX or OpenType    */
+  /*    A structure to model a named instance in a TrueType GX or OpenType */
   /*    variation font.                                                    */
   /*                                                                       */
   /*    This structure can't be used for Adobe MM fonts.                   */
   /*                                                                       */
   /* <Fields>                                                              */
-  /*    coords :: The design coordinates for this style.                   */
+  /*    coords :: The design coordinates for this instance.                */
   /*              This is an array with one entry for each axis.           */
   /*                                                                       */
-  /*    strid  :: The entry in `name' table identifying this style.        */
+  /*    strid  :: The entry in `name' table identifying this instance.     */
   /*                                                                       */
   /*    psid   :: The entry in `name' table identifying a PostScript name  */
-  /*              for this style.                                          */
+  /*              for this instance.                                       */
   /*                                                                       */
   typedef struct  FT_Var_Named_Style_
   {
@@ -215,7 +215,8 @@ FT_BEGIN_HEADER
   /*                       a tuple of design coordinates that has a string */
   /*                       ID (in the `name' table) associated with it.    */
   /*                       The font can tell the user that, for example,   */
-  /*                       [Weight=1.5,Width=1.1] is `Bold'.               */
+  /*                       [Weight=1.5,Width=1.1] is `Bold'.  Another name */
+  /*                       for `named style' is `named instance'.          */
   /*                                                                       */
   /*                       For Adobe Multiple Masters fonts, this value is */
   /*                       always zero because the format does not support */
@@ -227,7 +228,7 @@ FT_BEGIN_HEADER
   /*                       Memory management of this pointer is done       */
   /*                       internally by FreeType.                         */
   /*                                                                       */
-  /*    namedstyle      :: A named style table.                            */
+  /*    namedstyle      :: A named style (instance) table.                 */
   /*                       Only meaningful for TrueType GX and OpenType    */
   /*                       variation fonts.  Memory management of this     */
   /*                       pointer is done internally by FreeType.         */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]