45 cmap->gids = encoding->codes;
65 if ( char_code < 256 )
66 result = cmap->gids[char_code];
74 FT_UInt32 *pchar_code )
77 FT_UInt32 char_code = *pchar_code;
82 if ( char_code < 255 )
107 cff_cmap_encoding_class_rec,
153 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
161 return FT_THROW( No_Unicode_Glyph_Name );
163 if ( !psnames->unicodes_init )
164 return FT_THROW( Unimplemented_Feature );
166 return psnames->unicodes_init(
memory,
183 unicodes->num_maps = 0;
189 FT_UInt32 char_code )
193 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
196 return psnames->unicodes_char_index( unicodes, char_code );
202 FT_UInt32 *pchar_code )
206 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
209 return psnames->unicodes_char_next( unicodes, pchar_code );
214 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)
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,(FT_CMap_CharVarIndexFunc) NULL,(FT_CMap_CharVarIsDefaultFunc) NULL,(FT_CMap_VariantListFunc) NULL,(FT_CMap_CharVariantListFunc) NULL,(FT_CMap_VariantCharListFunc) NULL) cff_sid_to_glyph_name(TT_Face face
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_UInt32 *(* FT_CMap_VariantListFunc)(FT_CMap cmap, FT_Memory mem)
FT_Int(* FT_CMap_CharVarIsDefaultFunc)(FT_CMap cmap, FT_UInt32 char_code, FT_UInt32 variant_selector)
FT_UInt32 *(* FT_CMap_VariantCharListFunc)(FT_CMap cmap, FT_Memory mem, FT_UInt32 variant_selector)
#define FT_FACE_MEMORY(x)
FT_UInt32 *(* FT_CMap_CharVariantListFunc)(FT_CMap cmap, FT_Memory mem, FT_UInt32 char_code)
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 GLenum GLsizei GLsizei GLuint memory
GLsizei const void * pointer
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