shithub: freetype+ttf2subf

Download patch

ref: 28df3070f041b7113e4bf58f41d4fd248395d082
parent: a0d32dc1fac29744757acd4431d1121e7be385bd
author: Werner Lemberg <[email protected]>
date: Wed Aug 22 14:35:06 EDT 2001

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

Some formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-22  Werner Lemberg  <[email protected]>
+
+	* src/truetype/ttinterp.h: Fix prototype of TT_Move_Func.
+
 2001-08-21  Werner Lemberg  <[email protected]>
 
 	* builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1361,7 +1361,7 @@
   /*                                                                       */
   /* <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_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 @@
   /*                   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_
   {
--- a/src/truetype/ttinterp.h
+++ b/src/truetype/ttinterp.h
@@ -74,7 +74,7 @@
   /* 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 */