* src/truetype/ttinterp.h: Fix prototype of TT_Move_Func. Some formatting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
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 */