#include <freetype/internal/ftdebug.h>
#include "cffcmap.h"
#include "cffload.h"
#include "cfferrs.h"
FT_CALLBACK_DEF( FT_Error )
cff_cmap_encoding_init( FT_CMap cmap,
FT_Pointer pointer )
{ … }
FT_CALLBACK_DEF( void )
cff_cmap_encoding_done( FT_CMap cmap )
{ … }
FT_CALLBACK_DEF( FT_UInt )
cff_cmap_encoding_char_index( FT_CMap cmap,
FT_UInt32 char_code )
{ … }
FT_CALLBACK_DEF( FT_UInt )
cff_cmap_encoding_char_next( FT_CMap cmap,
FT_UInt32 *pchar_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
)
FT_CALLBACK_DEF( const char* )
cff_sid_to_glyph_name( void* face_,
FT_UInt idx )
{ … }
FT_CALLBACK_DEF( FT_Error )
cff_cmap_unicode_init( FT_CMap cmap,
FT_Pointer pointer )
{ … }
FT_CALLBACK_DEF( void )
cff_cmap_unicode_done( FT_CMap cmap )
{ … }
FT_CALLBACK_DEF( FT_UInt )
cff_cmap_unicode_char_index( FT_CMap cmap,
FT_UInt32 char_code )
{ … }
FT_CALLBACK_DEF( FT_UInt )
cff_cmap_unicode_char_next( FT_CMap cmap,
FT_UInt32 *pchar_code )
{ … }
FT_DEFINE_CMAP_CLASS(
cff_cmap_unicode_class_rec,
sizeof ( PS_UnicodesRec ),
(FT_CMap_InitFunc) cff_cmap_unicode_init,
(FT_CMap_DoneFunc) cff_cmap_unicode_done,
(FT_CMap_CharIndexFunc)cff_cmap_unicode_char_index,
(FT_CMap_CharNextFunc) cff_cmap_unicode_char_next,
(FT_CMap_CharVarIndexFunc) NULL,
(FT_CMap_CharVarIsDefaultFunc)NULL,
(FT_CMap_VariantListFunc) NULL,
(FT_CMap_CharVariantListFunc) NULL,
(FT_CMap_VariantCharListFunc) NULL
)