From 28df3070f041b7113e4bf58f41d4fd248395d082 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 22 Aug 2001 18:35:06 +0000 Subject: [PATCH] * src/truetype/ttinterp.h: Fix prototype of TT_Move_Func. Some formatting --- ChangeLog | 4 ++++ include/freetype/freetype.h | 29 +++++++++++++++-------------- src/truetype/ttinterp.h | 2 +- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53555c880..a0f2c6f2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-22 Werner Lemberg + + * src/truetype/ttinterp.h: Fix prototype of TT_Move_Func. + 2001-08-21 Werner Lemberg * builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'. diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index d475395f6..eebe71caa 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -1361,7 +1361,7 @@ FT_BEGIN_HEADER /* */ /* */ /* 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. */ /* */ /* */ /* 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. */ /* */ /* */ - /* 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. */ /* */ /* */ - /* 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 a7afaa892..f8d8781fe 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 */