24#include FT_INTERNAL_TRUETYPE_TYPES_H
25#include FT_INTERNAL_VALIDATE_H
26#include FT_SERVICE_TT_CMAP_H
31#define TT_CMAP_FLAG_UNSORTED 1
32#define TT_CMAP_FLAG_OVERLAPPING 2
59#ifndef FT_CONFIG_OPTION_PIC
61#define FT_DEFINE_TT_CMAP( class_, \
75 FT_CALLBACK_TABLE_DEF \
76 const TT_CMap_ClassRec class_ = \
97#define FT_DEFINE_TT_CMAP( class_, \
112 FT_Init_Class_ ## class_( TT_CMap_ClassRec* clazz ) \
114 clazz->clazz.size = size_; \
115 clazz->clazz.init = init_; \
116 clazz->clazz.done = done_; \
117 clazz->clazz.char_index = char_index_; \
118 clazz->clazz.char_next = char_next_; \
119 clazz->clazz.char_var_index = char_var_index_; \
120 clazz->clazz.char_var_default = char_var_default_; \
121 clazz->clazz.variant_list = variant_list_; \
122 clazz->clazz.charvariant_list = charvariant_list_; \
123 clazz->clazz.variantchar_list = variantchar_list_; \
124 clazz->format = format_; \
125 clazz->validate = validate_; \
126 clazz->get_cmap_info = get_cmap_info_; \
140#define TT_VALIDATOR( x ) ( (TT_Validator)( x ) )
141#define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
#define FT_CALLBACK_TABLE
typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * FT_Validator
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLint GLenum face
TT_CMap_ValidateFunc validate
TT_CMap_Info_GetFunc get_cmap_info
FT_ValidatorRec validator
FT_Error(* TT_CMap_Info_GetFunc)(FT_CharMap charmap, TT_CMapInfo *cmap_info)
struct TT_CMapRec_ * TT_CMap
tt_get_cmap_info(FT_CharMap charmap, TT_CMapInfo *cmap_info)
struct TT_CMapRec_ TT_CMapRec
struct TT_ValidatorRec_ * TT_Validator
FT_CALLBACK_TABLE const TT_CMap_ClassRec tt_cmap_unicode_class_rec
tt_face_build_cmaps(TT_Face face)
const struct TT_CMap_ClassRec_ * TT_CMap_Class
FT_Error(* TT_CMap_ValidateFunc)(FT_Byte *data, FT_Validator valid)
struct TT_CMap_ClassRec_ TT_CMap_ClassRec
struct TT_ValidatorRec_ TT_ValidatorRec