2000-06-01 05:27:48 +02:00
|
|
|
/*******************************************************************
|
|
|
|
*
|
|
|
|
* t1load.h 2.0
|
|
|
|
*
|
|
|
|
* Type1 Loader.
|
|
|
|
*
|
|
|
|
* Copyright 1996-2000 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 T1LOAD_H
|
|
|
|
#define T1LOAD_H
|
|
|
|
|
|
|
|
#include <freetype/internal/ftstream.h>
|
|
|
|
#include <cidparse.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct CID_Loader_
|
|
|
|
{
|
|
|
|
CID_Parser parser; /* parser used to read the stream */
|
|
|
|
|
|
|
|
FT_Int num_chars; /* number of characters in encoding */
|
|
|
|
|
|
|
|
} CID_Loader;
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
FT_Long cid_get_offset( FT_Byte** start, FT_Byte offsize );
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
void cid_decrypt( FT_Byte* buffer,
|
|
|
|
FT_Int length,
|
|
|
|
FT_UShort seed );
|
|
|
|
|
|
|
|
LOCAL_DEF
|
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
|
|
|
FT_Error CID_Open_Face( CID_Face face );
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* T1LOAD_H */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|