19 #ifndef __SVPSINFO_H__ 20 #define __SVPSINFO_H__ 22 #include FT_INTERNAL_SERVICE_H 23 #include FT_INTERNAL_TYPE1_TYPES_H 29 #define FT_SERVICE_ID_POSTSCRIPT_INFO "postscript-info" 65 #ifndef FT_CONFIG_OPTION_PIC 67 #define FT_DEFINE_SERVICE_PSINFOREC( class_, \ 73 static const FT_Service_PsInfoRec class_ = \ 75 get_font_info_, ps_get_font_extra_, has_glyph_names_, \ 76 get_font_private_, get_font_value_ \ 81 #define FT_DEFINE_SERVICE_PSINFOREC( class_, \ 88 FT_Init_Class_ ## class_( FT_Library library, \ 89 FT_Service_PsInfoRec* clazz ) \ 91 FT_UNUSED( library ); \ 93 clazz->ps_get_font_info = get_font_info_; \ 94 clazz->ps_get_font_extra = ps_get_font_extra_; \ 95 clazz->ps_has_glyph_names = has_glyph_names_; \ 96 clazz->ps_get_font_private = get_font_private_; \ 97 clazz->ps_get_font_value = get_font_value_; \
enum PS_Dict_Keys_ PS_Dict_Keys
GLenum GLuint GLint GLenum face
FT_Long(* PS_GetFontValueFunc)(FT_Face face, PS_Dict_Keys key, FT_UInt idx, void *value, FT_Long value_len)
GLsizei const GLfloat * value
FT_Error(* PS_GetFontExtraFunc)(FT_Face face, PS_FontExtraRec *afont_extra)
FT_DEFINE_SERVICE(PsInfo)
FT_BEGIN_HEADER struct PS_FontInfoRec_ PS_FontInfoRec
FT_Int(* PS_HasGlyphNamesFunc)(FT_Face face)
FT_Error(* PS_GetFontPrivateFunc)(FT_Face face, PS_PrivateRec *afont_private)
FT_Error(* PS_GetFontInfoFunc)(FT_Face face, PS_FontInfoRec *afont_info)