00001 /***************************************************************************/ 00002 /* */ 00003 /* cidload.h */ 00004 /* */ 00005 /* CID-keyed Type1 font loader (specification). */ 00006 /* */ 00007 /* Copyright 1996-2001, 2002, 2003, 2004 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __CIDLOAD_H__ 00020 #define __CIDLOAD_H__ 00021 00022 00023 #include <ft2build.h> 00024 #include FT_INTERNAL_STREAM_H 00025 #include "cidparse.h" 00026 00027 00028 FT_BEGIN_HEADER 00029 00030 00031 typedef struct CID_Loader_ 00032 { 00033 CID_Parser parser; /* parser used to read the stream */ 00034 FT_Int num_chars; /* number of characters in encoding */ 00035 00036 } CID_Loader; 00037 00038 00039 FT_LOCAL( FT_Long ) 00040 cid_get_offset( FT_Byte** start, 00041 FT_Byte offsize ); 00042 00043 FT_LOCAL( FT_Error ) 00044 cid_face_open( CID_Face face, 00045 FT_Int face_index ); 00046 00047 00048 FT_END_HEADER 00049 00050 #endif /* __CIDLOAD_H__ */ 00051 00052 00053 /* END */