00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __SVTTGLYF_H__
00018 #define __SVTTGLYF_H__
00019
00020 #include FT_INTERNAL_SERVICE_H
00021 #include FT_TRUETYPE_TABLES_H
00022
00023
00024 FT_BEGIN_HEADER
00025
00026
00027 #define FT_SERVICE_ID_TT_GLYF "tt-glyf"
00028
00029
00030 typedef FT_ULong
00031 (*TT_Glyf_GetLocationFunc)( FT_Face face,
00032 FT_UInt gindex,
00033 FT_ULong *psize );
00034
00035 FT_DEFINE_SERVICE( TTGlyf )
00036 {
00037 TT_Glyf_GetLocationFunc get_location;
00038 };
00039
00040 #ifndef FT_CONFIG_OPTION_PIC
00041
00042 #define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \
00043 static const FT_Service_TTGlyfRec class_ = \
00044 { \
00045 get_location_ \
00046 };
00047
00048 #else
00049
00050 #define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \
00051 void \
00052 FT_Init_Class_##class_( FT_Service_TTGlyfRec* clazz ) \
00053 { \
00054 clazz->get_location = get_location_; \
00055 }
00056
00057 #endif
00058
00059
00060
00061
00062 FT_END_HEADER
00063
00064 #endif
00065
00066
00067