Commit 28df3070f041b7113e4bf58f41d4fd248395d082

Werner Lemberg 2001-08-22T18:35:06

* src/truetype/ttinterp.h: Fix prototype of TT_Move_Func. Some formatting

diff --git a/ChangeLog b/ChangeLog
index 53555c8..a0f2c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-22  Werner Lemberg  <wl@gnu.org>
+
+	* src/truetype/ttinterp.h: Fix prototype of TT_Move_Func.
+
 2001-08-21  Werner Lemberg  <wl@gnu.org>
 
 	* builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'.
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index d475395..eebe71c 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1361,7 +1361,7 @@ FT_BEGIN_HEADER
   /*                                                                       */
   /* <Description>                                                         */
   /*    An enumeration used to list the bit flags used within the          */
-  /*    'flags' field of the @FT_Open_Args structure                       */
+  /*    `flags' field of the @FT_Open_Args structure.                      */
   /*                                                                       */
   /* <Fields>                                                              */
   /*    ft_open_memory   :: This is a memory-based stream.                 */
@@ -1375,8 +1375,8 @@ FT_BEGIN_HEADER
   /*    ft_open_params   :: Use the `num_params' & `params' field.         */
   /*                                                                       */
   /* <Note>                                                                */
-  /*    the 'ft_open_memory', 'ft_open_stream' and 'ft_open_pathname'      */
-  /*    flags are mutually exclusive..                                     */
+  /*    The `ft_open_memory', `ft_open_stream', and `ft_open_pathname'     */
+  /*    flags are mutually exclusive.                                      */
   /*                                                                       */
   typedef enum
   {
@@ -1447,23 +1447,24 @@ FT_BEGIN_HEADER
   /*                   opening a new face.                                 */
   /*                                                                       */
   /* <Note>                                                                */
-  /*    the stream type is determined by the content of 'flags', which     */
+  /*    The stream type is determined by the contents of `flags' which     */
   /*    are tested in the following order by @FT_Open_Face:                */
   /*                                                                       */
-  /*    if the 'ft_open_memory' bit is set, assume that this is a          */
-  /*    memory file, located at 'memory_address', of 'memory_size' bytes   */
+  /*    If the `ft_open_memory' bit is set, assume that this is a          */
+  /*    memory file of `memory_size' bytes,located at `memory_address'.    */
   /*                                                                       */
-  /*    otherwise, if the 'ft_open_stream' bit is set, assume that         */
-  /*    a custom input stream is used, a grab it in 'stream'.              */
+  /*    Otherwise, if the `ft_open_stream' bit is set, assume that a       */
+  /*    custom input stream `stream' is used.                              */
   /*                                                                       */
-  /*    otherwise, if the 'ft_open_pathname' bit is set, assume that       */
-  /*    this is a normal file and use the "pathname" to open it.           */
+  /*    Otherwise, if the `ft_open_pathname' bit is set, assume that this  */
+  /*    is a normal file and use `pathname' to open it.                    */
   /*                                                                       */
-  /*    if the 'ft_open_driver' bit is set, @FT_Open_Face will only        */
-  /*    try to open the file with the driver whose handler is in "driver"  */
+  /*    If the `ft_open_driver' bit is set, @FT_Open_Face() will only      */
+  /*    try to open the file with the driver whose handler is in `driver'. */
   /*                                                                       */
-  /*    if the 'ft_open_params' bit is set, the parameters given by        */
-  /*    "num_params" and "params" will be used. They're ignored otherwise  */
+  /*    If the `ft_open_params' bit is set, the parameters given by        */
+  /*    `num_params' and `params' will be used.  They are ignored          */
+  /*    otherwise.                                                         */
   /*                                                                       */
   typedef struct  FT_Open_Args_
   {
diff --git a/src/truetype/ttinterp.h b/src/truetype/ttinterp.h
index a7afaa8..f8d8781 100644
--- a/src/truetype/ttinterp.h
+++ b/src/truetype/ttinterp.h
@@ -74,7 +74,7 @@ FT_BEGIN_HEADER
   /* Point displacement along the freedom vector routine */
   typedef void
   (*TT_Move_Func)( EXEC_OP_ TT_GlyphZone*  zone,
-                            FT_UInt        point,
+                            FT_UShort      point,
                             FT_F26Dot6     distance );
 
   /* Distance projection along one of the projection vectors */