zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cffcmap.c File Reference
#include "cffcmap.h"
#include "cffload.h"
#include "cfferrs.h"

Go to the source code of this file.

Functions

 cff_cmap_encoding_char_index (CFF_CMapStd cmap, FT_UInt32 char_code)
 
 cff_cmap_encoding_char_next (CFF_CMapStd cmap, FT_UInt32 *pchar_code)
 
 cff_cmap_encoding_done (CFF_CMapStd cmap)
 
 cff_cmap_encoding_init (CFF_CMapStd cmap)
 
 cff_cmap_unicode_char_index (PS_Unicodes unicodes, FT_UInt32 char_code)
 
 cff_cmap_unicode_char_next (PS_Unicodes unicodes, FT_UInt32 *pchar_code)
 
 cff_cmap_unicode_done (PS_Unicodes unicodes)
 
 cff_cmap_unicode_init (PS_Unicodes unicodes)
 
return cff_index_get_sid_string (cff, sid)
 
 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
 

Variables

CFF_Charset charset = &cff->charset
 
FT_UInt idx
 
FT_UInt sid = charset->sids[idx]
 

Function Documentation

cff_cmap_encoding_char_index ( CFF_CMapStd  cmap,
FT_UInt32  char_code 
)

Definition at line 55 of file cffcmap.c.

cff_cmap_encoding_char_next ( CFF_CMapStd  cmap,
FT_UInt32 *  pchar_code 
)

Definition at line 69 of file cffcmap.c.

cff_cmap_encoding_done ( CFF_CMapStd  cmap)

Definition at line 48 of file cffcmap.c.

References NULL.

cff_cmap_encoding_init ( CFF_CMapStd  cmap)
cff_cmap_unicode_char_index ( PS_Unicodes  unicodes,
FT_UInt32  char_code 
)

Definition at line 172 of file cffcmap.c.

References FT_Generic_::data, TT_FaceRec_::extra, FT_CMAP_FACE, and CFF_FontRec_::psnames.

cff_cmap_unicode_char_next ( PS_Unicodes  unicodes,
FT_UInt32 *  pchar_code 
)

Definition at line 185 of file cffcmap.c.

References FT_Generic_::data, TT_FaceRec_::extra, FT_CMAP_FACE, and CFF_FontRec_::psnames.

cff_cmap_unicode_done ( PS_Unicodes  unicodes)

Definition at line 160 of file cffcmap.c.

References FT_CMAP_FACE, FT_FACE_MEMORY, and FT_FREE.

return cff_index_get_sid_string ( cff  ,
sid   
)
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   
)

Variable Documentation

CFF_Charset charset = &cff->charset

Definition at line 127 of file cffcmap.c.

Referenced by cff_cmap_unicode_init(), and cff_get_name_index().

FT_UInt sid = charset->sids[idx]

Definition at line 128 of file cffcmap.c.

Referenced by cff_encoding_load(), cff_get_glyph_name(), and cff_get_name_index().