* src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of

`cmap_rec_fields'.

* include/freetype/fterrors.h [!FT_CONFIG_OPTION_USE_MODULE_ERRORS]:
Undefine FT_ERR_BASE before defining again.
This commit is contained in:
Werner Lemberg 2001-08-24 23:11:34 +00:00
parent 95d5bc6f0d
commit 9f1c1c718f
4 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,11 @@
2001-08-25 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of
`cmap_rec_fields'.
* include/freetype/fterrors.h [!FT_CONFIG_OPTION_USE_MODULE_ERRORS]:
Undefine FT_ERR_BASE before defining again.
2001-08-22 Werner Lemberg <wl@gnu.org>
* src/truetype/ttinterp.h: Fix prototype of TT_Move_Func.

View File

@ -539,12 +539,12 @@ FT_BEGIN_HEADER
/* num_charmaps :: The total number of character maps in the */
/* face. */
/* */
/* charmaps :: A table of pointers to the face's charmaps */
/* charmaps :: A table of pointers to the face's charmaps. */
/* Used to scan the list of available charmaps */
/* this table might change after a call to */
/* FT_Attach_File/Stream (e.g. when it used */
/* to hook and additional encoding/CMap to */
/* the face object). */
/* -- this table might change after a call to */
/* FT_Attach_File/Stream (e.g. when used to */
/* hook an additional encoding/CMap to the */
/* face object). */
/* */
/* generic :: A field reserved for client uses. See the */
/* FT_Generic type description. */
@ -1512,7 +1512,7 @@ FT_BEGIN_HEADER
/* format of a given font resource. If the `face_index' field is */
/* negative, the function will _not_ return any face handle in */
/* `aface'. Its return value should be 0 if the font format is */
/* recognized, or non-zero if not. */
/* recognized, or non-zero otherwise. */
/* */
FT_EXPORT( FT_Error )
FT_New_Face( FT_Library library,
@ -1560,7 +1560,7 @@ FT_BEGIN_HEADER
/* font format of a given font resource. If the `face_index' field */
/* is negative, the function will _not_ return any face handle in */
/* `aface'. Its return value should be 0 if the font format is */
/* recognized, or non-zero if not. */
/* recognized, or non-zero otherwise. */
/* */
FT_EXPORT( FT_Error )
FT_New_Memory_Face( FT_Library library,
@ -1604,7 +1604,7 @@ FT_BEGIN_HEADER
/* format of a given font resource. If the `face_index' field is */
/* negative, the function will _not_ return any face handle in */
/* `*face'. Its return value should be 0 if the font format is */
/* recognized, or non-zero if not. */
/* recognized, or non-zero otherwise. */
/* */
FT_EXPORT( FT_Error )
FT_Open_Face( FT_Library library,

View File

@ -127,6 +127,7 @@
#else
#undef FT_ERR_BASE
#define FT_ERR_BASE 0
#endif /* FT_CONFIG_OPTION_USE_MODULE_ERRORS */

View File

@ -1141,7 +1141,7 @@
#undef FT_STRUCTURE
#define FT_STRUCTURE TT_CMapTable
FT_FRAME_START( 6 ),
FT_FRAME_START( 4 ),
FT_FRAME_USHORT( format ),
FT_FRAME_USHORT( length ),
FT_FRAME_END