20 #include FT_INTERNAL_DEBUG_H 43 cmap->gids = encoding->
codes;
63 if ( char_code < 256 )
64 result = cmap->gids[char_code];
80 if ( char_code < 255 )
144 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->
psnames;
150 return FT_THROW( No_Unicode_Glyph_Name );
152 return psnames->unicodes_init( memory,
169 unicodes->num_maps = 0;
179 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->
psnames;
182 return psnames->unicodes_char_index( unicodes, char_code );
192 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->
psnames;
195 return psnames->unicodes_char_next( unicodes, pchar_code );
FT_UInt(* FT_CMap_CharIndexFunc)(FT_CMap cmap, FT_UInt32 char_code)
cff_cmap_encoding_done(CFF_CMapStd cmap)
cff_cmap_unicode_done(PS_Unicodes unicodes)
cff_cmap_unicode_char_next(PS_Unicodes unicodes, FT_UInt32 *pchar_code)
return FT_THROW(Missing_Property)
void(* FT_CMap_DoneFunc)(FT_CMap cmap)
struct CFF_FontRec_ * CFF_Font
cff_cmap_unicode_init(PS_Unicodes unicodes)
typedefFT_BEGIN_HEADER struct CFF_CMapStdRec_ * CFF_CMapStd
cff_cmap_unicode_char_index(PS_Unicodes unicodes, FT_UInt32 char_code)
return cff_index_get_sid_string(cff, sid)
FT_Service_PsCMaps psnames
GLenum GLuint GLint GLenum face
cff_cmap_encoding_init(CFF_CMapStd cmap)
struct TT_FaceRec_ * TT_Face
const char *(* PS_GetGlyphNameFunc)(FT_Pointer data, FT_UInt string_index)
void(* PS_FreeGlyphNameFunc)(FT_Pointer data, const char *name)
#define FT_CALLBACK_DEF(x)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
#define FT_FACE_MEMORY(x)
FT_DEFINE_CMAP_CLASS(cff_cmap_encoding_class_rec, sizeof(CFF_CMapStdRec),(FT_CMap_InitFunc) cff_cmap_encoding_init,(FT_CMap_DoneFunc) cff_cmap_encoding_done,(FT_CMap_CharIndexFunc) cff_cmap_encoding_char_index,(FT_CMap_CharNextFunc) cff_cmap_encoding_char_next, NULL, NULL, NULL, NULL, NULL) cff_sid_to_glyph_name(TT_Face face
cff_cmap_encoding_char_next(CFF_CMapStd cmap, FT_UInt32 *pchar_code)
FT_UInt(* FT_CMap_CharNextFunc)(FT_CMap cmap, FT_UInt32 *achar_code)
FT_Error(* FT_CMap_InitFunc)(FT_CMap cmap, FT_Pointer init_data)
cff_cmap_encoding_char_index(CFF_CMapStd cmap, FT_UInt32 char_code)