1 /***************************************************************************/
5 /* The FreeType TrueType glyph service. */
7 /* Copyright 2007-2018 by */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
21 #include FT_INTERNAL_SERVICE_H
22 #include FT_TRUETYPE_TABLES_H
28 #define FT_SERVICE_ID_TT_GLYF "tt-glyf"
32 (*TT_Glyf_GetLocationFunc
)( FT_Face face
,
36 FT_DEFINE_SERVICE( TTGlyf
)
38 TT_Glyf_GetLocationFunc get_location
;
42 #ifndef FT_CONFIG_OPTION_PIC
44 #define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \
45 static const FT_Service_TTGlyfRec class_ = \
50 #else /* FT_CONFIG_OPTION_PIC */
52 #define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \
54 FT_Init_Class_ ## class_( FT_Service_TTGlyfRec* clazz ) \
56 clazz->get_location = get_location_; \
59 #endif /* FT_CONFIG_OPTION_PIC */
66 #endif /* SVTTGLYF_H_ */