00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __TTPIC_H__
00020 #define __TTPIC_H__
00021
00022
00023 FT_BEGIN_HEADER
00024
00025 #ifndef FT_CONFIG_OPTION_PIC
00026 #define FT_TT_SERVICES_GET tt_services
00027 #define FT_TT_SERVICE_GX_MULTI_MASTERS_GET tt_service_gx_multi_masters
00028 #define FT_TT_SERVICE_TRUETYPE_GLYF_GET tt_service_truetype_glyf
00029
00030 #else
00031
00032 #include FT_MULTIPLE_MASTERS_H
00033 #include FT_SERVICE_MULTIPLE_MASTERS_H
00034 #include FT_SERVICE_TRUETYPE_GLYF_H
00035
00036 typedef struct TTModulePIC_
00037 {
00038 FT_ServiceDescRec* tt_services;
00039 #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
00040 FT_Service_MultiMastersRec tt_service_gx_multi_masters;
00041 #endif
00042 FT_Service_TTGlyfRec tt_service_truetype_glyf;
00043 } TTModulePIC;
00044
00045 #define GET_PIC(lib) ((TTModulePIC*)((lib)->pic_container.truetype))
00046 #define FT_TT_SERVICES_GET (GET_PIC(library)->tt_services)
00047 #define FT_TT_SERVICE_GX_MULTI_MASTERS_GET (GET_PIC(library)->tt_service_gx_multi_masters)
00048 #define FT_TT_SERVICE_TRUETYPE_GLYF_GET (GET_PIC(library)->tt_service_truetype_glyf)
00049
00050 #endif
00051
00052
00053
00054 FT_END_HEADER
00055
00056 #endif
00057
00058
00059