2000-05-29 22:55:13 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* t2load.h */
|
|
|
|
/* */
|
|
|
|
/* OpenType glyph data/program tables loader (specification). */
|
|
|
|
/* */
|
|
|
|
/* Copyright 1996-1999 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 T2LOAD_H
|
|
|
|
#define T2LOAD_H
|
|
|
|
|
|
|
|
#include <freetype/internal/t2types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2000-06-07 22:04:34 +02:00
|
|
|
LOCAL_FUNC
|
|
|
|
FT_String* T2_Get_Name( CFF_Index* index,
|
|
|
|
FT_UInt element );
|
|
|
|
|
|
|
|
#if 0 /* will be used later for pure-CFF font support */
|
|
|
|
LOCAL_DEF
|
|
|
|
FT_String* T2_Get_String( CFF_Index* index,
|
|
|
|
FT_UInt sid,
|
|
|
|
PSNames_Interface* interface );
|
|
|
|
#endif
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
FT_Error T2_Access_Element( CFF_Index* index,
|
|
|
|
FT_UInt element,
|
|
|
|
FT_Byte* *pbytes,
|
|
|
|
FT_ULong *pbyte_len );
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
void T2_Forget_Element( CFF_Index* index,
|
|
|
|
FT_Byte* *pbytes );
|
|
|
|
|
A complete revision of FreeType 2's GNU makefiles (of the library):
Tons of unnecessary stuff have been removed; only the essential rules
have been retained.
The source files now depend on all header files in include/freetype,
include/freetype/config, and include/freetype/internal. This is not
optimal, I know, and I'll try to improve this, but it is better than
before (namely no dependencies on `internal').
FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know
exactly whether this is really useful, but it doesn't harm.
There is now more documentation in the makefiles itself.
io-frames.html: Use of <th>, <code>, and <var> for better tagging.
Reactivating of FT_DEBUG_LEVEL_xxx macros.
Added a lot of #include directives to make `multi' builds possible -- note
that currently the modules cid, t1, and t1z have clashing structures and
functions which means that you can only use one of these three modules for a
multi build.
Added some missing function declarations to (local) header files.
Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot
of other functions should be renamed also...
Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished
yet...
Fixed FT_Free() to allow a NULL pointer without an assertion (this has
always been a valid assumption in FreeType, at least in FT 1.x).
A lot of other, minor fixes (mostly documentation).
2000-06-11 05:46:57 +02:00
|
|
|
LOCAL_FUNC
|
|
|
|
FT_Error T2_Load_CFF_Font( FT_Stream stream,
|
|
|
|
FT_Int face_index,
|
|
|
|
CFF_Font* font );
|
|
|
|
|
|
|
|
LOCAL_FUNC
|
|
|
|
void T2_Done_CFF_Font( CFF_Font* font );
|
|
|
|
|
2000-06-07 22:04:34 +02:00
|
|
|
|
2000-05-29 22:55:13 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* T2LOAD_H */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|