00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __CFFLOAD_H__
00020 #define __CFFLOAD_H__
00021
00022
00023 #include <ft2build.h>
00024 #include "cfftypes.h"
00025 #include FT_SERVICE_POSTSCRIPT_CMAPS_H
00026
00027
00028 FT_BEGIN_HEADER
00029
00030 FT_LOCAL( FT_UShort )
00031 cff_get_standard_encoding( FT_UInt charcode );
00032
00033
00034 FT_LOCAL( FT_String* )
00035 cff_index_get_name( CFF_Index idx,
00036 FT_UInt element );
00037
00038 FT_LOCAL( FT_String* )
00039 cff_index_get_sid_string( CFF_Index idx,
00040 FT_UInt sid,
00041 FT_Service_PsCMaps psnames );
00042
00043
00044 FT_LOCAL( FT_Error )
00045 cff_index_access_element( CFF_Index idx,
00046 FT_UInt element,
00047 FT_Byte** pbytes,
00048 FT_ULong* pbyte_len );
00049
00050 FT_LOCAL( void )
00051 cff_index_forget_element( CFF_Index idx,
00052 FT_Byte** pbytes );
00053
00054
00055 FT_LOCAL( FT_UInt )
00056 cff_charset_cid_to_gindex( CFF_Charset charset,
00057 FT_UInt cid );
00058
00059
00060 FT_LOCAL( FT_Error )
00061 cff_font_load( FT_Library library,
00062 FT_Stream stream,
00063 FT_Int face_index,
00064 CFF_Font font,
00065 FT_Bool pure_cff );
00066
00067 FT_LOCAL( void )
00068 cff_font_done( CFF_Font font );
00069
00070
00071 FT_LOCAL( FT_Byte )
00072 cff_fd_select_get( CFF_FDSelect fdselect,
00073 FT_UInt glyph_index );
00074
00075
00076 FT_END_HEADER
00077
00078 #endif
00079
00080
00081