22#include FT_INTERNAL_OBJECTS_H
28#define FT_SERVICE_ID_POSTSCRIPT_CMAPS "postscript-cmaps"
41 (*PS_Macintosh_NameFunc)(
FT_UInt name_index );
103 FT_UInt32 *unicode );
116 const unsigned short* adobe_std_encoding;
117 const unsigned short* adobe_expert_encoding;
121#ifndef FT_CONFIG_OPTION_PIC
123#define FT_DEFINE_SERVICE_PSCMAPSREC( class_, \
126 unicodes_char_index_, \
127 unicodes_char_next_, \
129 adobe_std_strings_, \
130 adobe_std_encoding_, \
131 adobe_expert_encoding_ ) \
132 static const FT_Service_PsCMapsRec class_ = \
134 unicode_value_, unicodes_init_, \
135 unicodes_char_index_, unicodes_char_next_, macintosh_name_, \
136 adobe_std_strings_, adobe_std_encoding_, adobe_expert_encoding_ \
141#define FT_DEFINE_SERVICE_PSCMAPSREC( class_, \
144 unicodes_char_index_, \
145 unicodes_char_next_, \
147 adobe_std_strings_, \
148 adobe_std_encoding_, \
149 adobe_expert_encoding_ ) \
151 FT_Init_Class_ ## class_( FT_Library library, \
152 FT_Service_PsCMapsRec* clazz ) \
154 FT_UNUSED( library ); \
156 clazz->unicode_value = unicode_value_; \
157 clazz->unicodes_init = unicodes_init_; \
158 clazz->unicodes_char_index = unicodes_char_index_; \
159 clazz->unicodes_char_next = unicodes_char_next_; \
160 clazz->macintosh_name = macintosh_name_; \
161 clazz->adobe_std_strings = adobe_std_strings_; \
162 clazz->adobe_std_encoding = adobe_std_encoding_; \
163 clazz->adobe_expert_encoding = adobe_expert_encoding_; \
#define FT_DEFINE_SERVICE(name)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static char memory[1024 *256]
const char *(* PS_Macintosh_NameFunc)(FT_UInt name_index)
const char *(* PS_GetGlyphNameFunc)(FT_Pointer data, FT_UInt string_index)
const char *(* PS_Adobe_Std_StringsFunc)(FT_UInt string_index)
FT_UInt32(* PS_Unicode_ValueFunc)(const char *glyph_name)
FT_UInt32(* PS_Unicodes_CharNextFunc)(PS_Unicodes unicodes, FT_UInt32 *unicode)
FT_Error(* PS_Unicodes_InitFunc)(FT_Memory memory, PS_Unicodes unicodes, FT_UInt num_glyphs, PS_GetGlyphNameFunc get_glyph_name, PS_FreeGlyphNameFunc free_glyph_name, FT_Pointer glyph_data)
void(* PS_FreeGlyphNameFunc)(FT_Pointer data, const char *name)
struct PS_UnicodesRec_ * PS_Unicodes
FT_UInt(* PS_Unicodes_CharIndexFunc)(PS_Unicodes unicodes, FT_UInt32 unicode)
struct PS_UnicodesRec_ PS_UnicodesRec
struct PS_UniMap_ PS_UniMap