* src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: Removed. Obsolete.
* include/freetype/internal/sfnt.h (SFNT_Interface): Remove obsolete fields `load_charmap' and `free_charmap'. (TT_CharMap_Load_Func, TT_CharMap_Free_Func): Removed. * src/sfnt/sfnt.c: Don't include ttcmap.c. * src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttcmap.c. * src/sfnt/ttload.c: Don't include ttcmap.h. * src/sfnt/sfdriver.c: Don't include ttcmap.h. (sfnt_interface): Updated.
This commit is contained in:
parent
7d5fff8b43
commit
b066c1530d
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
||||||
|
2003-12-16 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: Removed. Obsolete.
|
||||||
|
|
||||||
|
* include/freetype/internal/sfnt.h (SFNT_Interface): Remove
|
||||||
|
obsolete fields `load_charmap' and `free_charmap'.
|
||||||
|
(TT_CharMap_Load_Func, TT_CharMap_Free_Func): Removed.
|
||||||
|
* src/sfnt/sfnt.c: Don't include ttcmap.c.
|
||||||
|
* src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttcmap.c.
|
||||||
|
* src/sfnt/ttload.c: Don't include ttcmap.h.
|
||||||
|
* src/sfnt/sfdriver.c: Don't include ttcmap.h.
|
||||||
|
(sfnt_interface): Updated.
|
||||||
|
|
||||||
2003-12-15 Werner Lemberg <wl@gnu.org>
|
2003-12-15 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* docs/CHANGES: Updated.
|
* docs/CHANGES: Updated.
|
||||||
|
|
|
@ -25,7 +25,8 @@ LATEST CHANGES BETWEEN 2.1.8 and 2.1.7
|
||||||
III. MISCELLANEOUS
|
III. MISCELLANEOUS
|
||||||
|
|
||||||
- Wolfgang Domröse contributed support files for building FreeType
|
- Wolfgang Domröse contributed support files for building FreeType
|
||||||
on the Atari using the PureC compiler.
|
on the Atari using the PureC compiler. Note that the Atari is a
|
||||||
|
16bit platform.
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
|
@ -361,57 +361,6 @@ FT_BEGIN_HEADER
|
||||||
FT_Bool vertical );
|
FT_Bool vertical );
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
|
||||||
/* */
|
|
||||||
/* <FuncType> */
|
|
||||||
/* TT_CharMap_Load_Func */
|
|
||||||
/* */
|
|
||||||
/* <Description> */
|
|
||||||
/* Loads a given TrueType character map into memory. */
|
|
||||||
/* */
|
|
||||||
/* <Input> */
|
|
||||||
/* face :: A handle to the parent face object. */
|
|
||||||
/* */
|
|
||||||
/* stream :: A handle to the current stream object. */
|
|
||||||
/* */
|
|
||||||
/* <InOut> */
|
|
||||||
/* cmap :: A pointer to a cmap object. */
|
|
||||||
/* */
|
|
||||||
/* <Return> */
|
|
||||||
/* FreeType error code. 0 means success. */
|
|
||||||
/* */
|
|
||||||
/* <Note> */
|
|
||||||
/* The function assumes that the stream is already in use (i.e., */
|
|
||||||
/* opened). In case of error, all partially allocated tables are */
|
|
||||||
/* released. */
|
|
||||||
/* */
|
|
||||||
typedef FT_Error
|
|
||||||
(*TT_CharMap_Load_Func)( TT_Face face,
|
|
||||||
TT_CMapTable cmap,
|
|
||||||
FT_Stream input );
|
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
|
||||||
/* */
|
|
||||||
/* <FuncType> */
|
|
||||||
/* TT_CharMap_Free_Func */
|
|
||||||
/* */
|
|
||||||
/* <Description> */
|
|
||||||
/* Destroys a character mapping table. */
|
|
||||||
/* */
|
|
||||||
/* <Input> */
|
|
||||||
/* face :: A handle to the parent face object. */
|
|
||||||
/* */
|
|
||||||
/* cmap :: A handle to a cmap object. */
|
|
||||||
/* */
|
|
||||||
/* <Return> */
|
|
||||||
/* FreeType error code. 0 means success. */
|
|
||||||
/* */
|
|
||||||
typedef FT_Error
|
|
||||||
(*TT_CharMap_Free_Func)( TT_Face face,
|
|
||||||
TT_CMapTable cmap );
|
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* */
|
/* */
|
||||||
/* <FuncType> */
|
/* <FuncType> */
|
||||||
|
@ -510,10 +459,6 @@ FT_BEGIN_HEADER
|
||||||
TT_Get_PS_Name_Func get_psname;
|
TT_Get_PS_Name_Func get_psname;
|
||||||
TT_Free_Table_Func free_psnames;
|
TT_Free_Table_Func free_psnames;
|
||||||
|
|
||||||
/* see `ttcmap.h' */
|
|
||||||
TT_CharMap_Load_Func load_charmap;
|
|
||||||
TT_CharMap_Free_Func free_charmap;
|
|
||||||
|
|
||||||
} SFNT_Interface;
|
} SFNT_Interface;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ SFNT_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(SFNT_DIR))
|
||||||
# SFNT driver sources (i.e., C files)
|
# SFNT driver sources (i.e., C files)
|
||||||
#
|
#
|
||||||
SFNT_DRV_SRC := $(SFNT_DIR)/ttload.c \
|
SFNT_DRV_SRC := $(SFNT_DIR)/ttload.c \
|
||||||
$(SFNT_DIR)/ttcmap.c \
|
|
||||||
$(SFNT_DIR)/ttcmap0.c \
|
$(SFNT_DIR)/ttcmap0.c \
|
||||||
$(SFNT_DIR)/ttsbit.c \
|
$(SFNT_DIR)/ttsbit.c \
|
||||||
$(SFNT_DIR)/ttpost.c \
|
$(SFNT_DIR)/ttpost.c \
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#include "sfdriver.h"
|
#include "sfdriver.h"
|
||||||
#include "ttload.h"
|
#include "ttload.h"
|
||||||
#include "ttcmap.h"
|
|
||||||
#include "sfobjs.h"
|
#include "sfobjs.h"
|
||||||
|
|
||||||
#include "sferrors.h"
|
#include "sferrors.h"
|
||||||
|
@ -360,9 +359,6 @@
|
||||||
|
|
||||||
#endif /* TT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
#endif /* TT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
||||||
|
|
||||||
/* see `ttcmap.h' */
|
|
||||||
tt_face_load_charmap,
|
|
||||||
tt_face_free_charmap,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#include <ft2build.h>
|
#include <ft2build.h>
|
||||||
#include "ttload.c"
|
#include "ttload.c"
|
||||||
#include "ttcmap.c"
|
|
||||||
#include "ttcmap0.c"
|
#include "ttcmap0.c"
|
||||||
#include "sfobjs.c"
|
#include "sfobjs.c"
|
||||||
#include "sfdriver.c"
|
#include "sfdriver.c"
|
||||||
|
|
1110
src/sfnt/ttcmap.c
1110
src/sfnt/ttcmap.c
File diff suppressed because it is too large
Load Diff
|
@ -1,45 +0,0 @@
|
||||||
/***************************************************************************/
|
|
||||||
/* */
|
|
||||||
/* ttcmap.h */
|
|
||||||
/* */
|
|
||||||
/* TrueType character mapping table (cmap) support (specification). */
|
|
||||||
/* */
|
|
||||||
/* Copyright 1996-2001, 2002 by */
|
|
||||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
||||||
/* */
|
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
|
||||||
/* modified, and distributed under the terms of the FreeType project */
|
|
||||||
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
||||||
/* this file you indicate that you have read the license and */
|
|
||||||
/* understand and accept it fully. */
|
|
||||||
/* */
|
|
||||||
/***************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef __TTCMAP_H__
|
|
||||||
#define __TTCMAP_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <ft2build.h>
|
|
||||||
#include FT_INTERNAL_TRUETYPE_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
FT_BEGIN_HEADER
|
|
||||||
|
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
|
||||||
tt_face_load_charmap( TT_Face face,
|
|
||||||
TT_CMapTable cmap,
|
|
||||||
FT_Stream input );
|
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
|
||||||
tt_face_free_charmap( TT_Face face,
|
|
||||||
TT_CMapTable cmap );
|
|
||||||
|
|
||||||
|
|
||||||
FT_END_HEADER
|
|
||||||
|
|
||||||
#endif /* __TTCMAP_H__ */
|
|
||||||
|
|
||||||
|
|
||||||
/* END */
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include FT_INTERNAL_STREAM_H
|
#include FT_INTERNAL_STREAM_H
|
||||||
#include FT_TRUETYPE_TAGS_H
|
#include FT_TRUETYPE_TAGS_H
|
||||||
#include "ttload.h"
|
#include "ttload.h"
|
||||||
#include "ttcmap.h"
|
|
||||||
|
|
||||||
#include "sferrors.h"
|
#include "sferrors.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue