25 #include FT_INTERNAL_PIC_H
27 #ifndef FT_CONFIG_OPTION_PIC
28 #define FT_SFNT_SERVICES_GET sfnt_services
29 #define FT_SFNT_SERVICE_GLYPH_DICT_GET sfnt_service_glyph_dict
30 #define FT_SFNT_SERVICE_PS_NAME_GET sfnt_service_ps_name
31 #define FT_TT_SERVICE_GET_CMAP_INFO_GET tt_service_get_cmap_info
32 #define FT_SFNT_SERVICES_GET sfnt_services
33 #define FT_TT_CMAP_CLASSES_GET tt_cmap_classes
34 #define FT_SFNT_SERVICE_SFNT_TABLE_GET sfnt_service_sfnt_table
35 #define FT_SFNT_SERVICE_BDF_GET sfnt_service_bdf
36 #define FT_SFNT_INTERFACE_GET sfnt_interface
41 #include FT_SERVICE_GLYPH_DICT_H
42 #include FT_SERVICE_POSTSCRIPT_NAME_H
43 #include FT_SERVICE_SFNT_H
44 #include FT_SERVICE_TT_CMAP_H
45 #ifdef TT_CONFIG_OPTION_BDF
47 #include FT_SERVICE_BDF_H
49 #include FT_INTERNAL_DEBUG_H
50 #include FT_INTERNAL_STREAM_H
51 #include FT_INTERNAL_SFNT_H
54 typedef struct sfntModulePIC_
57 FT_Service_GlyphDictRec sfnt_service_glyph_dict;
58 FT_Service_PsFontNameRec sfnt_service_ps_name;
59 FT_Service_TTCMapsRec tt_service_get_cmap_info;
61 FT_Service_SFNT_TableRec sfnt_service_sfnt_table;
62 #ifdef TT_CONFIG_OPTION_BDF
63 FT_Service_BDFRec sfnt_service_bdf;
68 #define GET_PIC(lib) ((sfntModulePIC*)((lib)->pic_container.sfnt))
69 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services)
70 #define FT_SFNT_SERVICE_GLYPH_DICT_GET (GET_PIC(library)->sfnt_service_glyph_dict)
71 #define FT_SFNT_SERVICE_PS_NAME_GET (GET_PIC(library)->sfnt_service_ps_name)
72 #define FT_TT_SERVICE_GET_CMAP_INFO_GET (GET_PIC(library)->tt_service_get_cmap_info)
73 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services)
74 #define FT_TT_CMAP_CLASSES_GET (GET_PIC(library)->tt_cmap_classes)
75 #define FT_SFNT_SERVICE_SFNT_TABLE_GET (GET_PIC(library)->sfnt_service_sfnt_table)
76 #define FT_SFNT_SERVICE_BDF_GET (GET_PIC(library)->sfnt_service_bdf)
77 #define FT_SFNT_INTERFACE_GET (GET_PIC(library)->sfnt_interface)
static const TT_CMap_Class tt_cmap_classes[]