20#include FT_INTERNAL_DEBUG_H
66 if ( char_code < 256 )
67 result = cmap->gids[char_code];
75 FT_UInt32 *pchar_code )
78 FT_UInt32 char_code = *pchar_code;
83 if ( char_code < 255 )
108 cff_cmap_encoding_class_rec,
154 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
162 return FT_THROW( No_Unicode_Glyph_Name );
164 return psnames->unicodes_init(
memory,
181 unicodes->num_maps = 0;
187 FT_UInt32 char_code )
191 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
194 return psnames->unicodes_char_index( unicodes, char_code );
200 FT_UInt32 *pchar_code )
204 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
207 return psnames->unicodes_char_next( unicodes, pchar_code );
212 cff_cmap_unicode_class_rec,
cff_cmap_encoding_init(CFF_CMapStd cmap, FT_Pointer pointer)
cff_cmap_encoding_char_index(CFF_CMapStd cmap, FT_UInt32 char_code)
cff_cmap_unicode_char_index(PS_Unicodes unicodes, FT_UInt32 char_code)
cff_cmap_encoding_done(CFF_CMapStd cmap)
cff_cmap_unicode_done(PS_Unicodes unicodes)
return cff_index_get_sid_string(cff, sid)
cff_cmap_encoding_char_next(CFF_CMapStd cmap, FT_UInt32 *pchar_code)
cff_cmap_unicode_char_next(PS_Unicodes unicodes, FT_UInt32 *pchar_code)
cff_cmap_unicode_init(PS_Unicodes unicodes, FT_Pointer pointer)
typedefFT_BEGIN_HEADER struct CFF_CMapStdRec_ * CFF_CMapStd
struct CFF_FontRec_ * CFF_Font
#define FT_CALLBACK_DEF(x)
FT_UInt(* FT_CMap_CharNextFunc)(FT_CMap cmap, FT_UInt32 *achar_code)
FT_UInt(* FT_CMap_CharVarIndexFunc)(FT_CMap cmap, FT_CMap unicode_cmap, FT_UInt32 char_code, FT_UInt32 variant_selector)
FT_Bool(* FT_CMap_CharVarIsDefaultFunc)(FT_CMap cmap, FT_UInt32 char_code, FT_UInt32 variant_selector)
FT_UInt32 *(* FT_CMap_CharVariantListFunc)(FT_CMap cmap, FT_Memory mem, FT_UInt32 char_code)
#define FT_FACE_MEMORY(x)
#define FT_DEFINE_CMAP_CLASS( class_, size_, init_, done_, char_index_, char_next_, char_var_index_, char_var_default_, variant_list_, charvariant_list_, variantchar_list_)
FT_UInt32 *(* FT_CMap_VariantCharListFunc)(FT_CMap cmap, FT_Memory mem, FT_UInt32 variant_selector)
FT_UInt32 *(* FT_CMap_VariantListFunc)(FT_CMap cmap, FT_Memory mem)
FT_Error(* FT_CMap_InitFunc)(FT_CMap cmap, FT_Pointer init_data)
void(* FT_CMap_DoneFunc)(FT_CMap cmap)
FT_UInt(* FT_CMap_CharIndexFunc)(FT_CMap cmap, FT_UInt32 char_code)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
GLsizei const GLvoid * pointer
GLenum GLuint GLint GLenum face
static char memory[1024 *256]
FT_Service_PsCMaps psnames
const char *(* PS_GetGlyphNameFunc)(FT_Pointer data, FT_UInt string_index)
void(* PS_FreeGlyphNameFunc)(FT_Pointer data, const char *name)
struct TT_FaceRec_ * TT_Face