24#include FT_INTERNAL_DRIVER_H
25#include FT_INTERNAL_TRUETYPE_TYPES_H
630#ifndef FT_CONFIG_OPTION_PIC
632#define FT_DEFINE_SFNT_INTERFACE( \
661 load_strike_metrics_, \
665 static const SFNT_Interface class_ = \
694 load_strike_metrics_, \
702#define FT_INTERNAL( a, a_ ) \
705#define FT_DEFINE_SFNT_INTERFACE( \
734 load_strike_metrics_, \
739 FT_Init_Class_ ## class_( FT_Library library, \
740 SFNT_Interface* clazz ) \
742 FT_UNUSED( library ); \
744 clazz->goto_table = goto_table_; \
745 clazz->init_face = init_face_; \
746 clazz->load_face = load_face_; \
747 clazz->done_face = done_face_; \
748 clazz->get_interface = get_interface_; \
749 clazz->load_any = load_any_; \
750 clazz->load_head = load_head_; \
751 clazz->load_hhea = load_hhea_; \
752 clazz->load_cmap = load_cmap_; \
753 clazz->load_maxp = load_maxp_; \
754 clazz->load_os2 = load_os2_; \
755 clazz->load_post = load_post_; \
756 clazz->load_name = load_name_; \
757 clazz->free_name = free_name_; \
758 clazz->load_kern = load_kern_; \
759 clazz->load_gasp = load_gasp_; \
760 clazz->load_pclt = load_pclt_; \
761 clazz->load_bhed = load_bhed_; \
762 clazz->load_sbit_image = load_sbit_image_; \
763 clazz->get_psname = get_psname_; \
764 clazz->free_psnames = free_psnames_; \
765 clazz->get_kerning = get_kerning_; \
766 clazz->load_font_dir = load_font_dir_; \
767 clazz->load_hmtx = load_hmtx_; \
768 clazz->load_eblc = load_eblc_; \
769 clazz->free_eblc = free_eblc_; \
770 clazz->set_sbit_strike = set_sbit_strike_; \
771 clazz->load_strike_metrics = load_strike_metrics_; \
772 clazz->get_metrics = get_metrics_; \
773 clazz->get_name = get_name_; \
774 clazz->get_name_id = get_name_id_; \
FT_Module_Interface(* FT_Module_Requester)(FT_Module module, const char *name)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
GLenum const GLfloat * params
GLuint GLsizei GLsizei * length
FT_Error(* TT_Set_SBit_Strike_Func)(TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)
FT_Int(* TT_Face_GetKerningFunc)(TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)
FT_Error(* TT_Load_Metrics_Func)(TT_Face face, FT_Stream stream, FT_Bool vertical)
FT_Error(* TT_Load_Table_Func)(TT_Face face, FT_Stream stream)
SFNT_Interface * SFNT_Service
FT_Error(* TT_Load_Strike_Metrics_Func)(TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)
FT_Error(* TT_Get_Name_Func)(TT_Face face, FT_UShort nameid, FT_String **name)
void(* TT_Free_Table_Func)(TT_Face face)
void(* TT_Get_Metrics_Func)(TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)
void(* TT_Done_Face_Func)(TT_Face face)
FT_BEGIN_HEADER typedef FT_Error(* TT_Init_Face_Func)(FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
FT_Error(* TT_Get_PS_Name_Func)(TT_Face face, FT_UInt idx, FT_String **PSname)
FT_Bool(* TT_Get_Name_ID_Func)(TT_Face face, FT_UShort nameid, FT_Int *win, FT_Int *apple)
FT_Error(* TT_Load_SBit_Image_Func)(TT_Face face, FT_ULong strike_index, FT_UInt glyph_index, FT_UInt load_flags, FT_Stream stream, FT_Bitmap *amap, TT_SBit_MetricsRec *ametrics)
FT_Error(* TT_Load_Any_Func)(TT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)
struct SFNT_Interface_ SFNT_Interface
FT_Error(* TT_Find_SBit_Image_Func)(TT_Face face, FT_UInt glyph_index, FT_ULong strike_index, TT_SBit_Range *arange, TT_SBit_Strike *astrike, FT_ULong *aglyph_offset)
FT_Error(* TT_Load_SBit_Metrics_Func)(FT_Stream stream, TT_SBit_Range range, TT_SBit_Metrics metrics)
FT_Error(* TT_Load_Face_Func)(FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
TT_Free_Table_Func free_eblc
TT_Get_PS_Name_Func get_psname
TT_Load_Table_Func load_name
TT_Free_Table_Func free_name
TT_Load_Strike_Metrics_Func load_strike_metrics
TT_Load_Table_Func load_gasp
TT_Load_Table_Func load_eblc
TT_Load_Table_Func load_font_dir
TT_Get_Metrics_Func get_metrics
TT_Load_Table_Func load_cmap
TT_Load_Table_Func load_kern
TT_Load_Table_Func load_maxp
TT_Done_Face_Func done_face
FT_Module_Requester get_interface
TT_Free_Table_Func free_psnames
TT_Load_Table_Func load_bhed
TT_Face_GetKerningFunc get_kerning
TT_Load_Table_Func load_os2
TT_Load_Metrics_Func load_hhea
TT_Load_Any_Func load_any
TT_Load_Table_Func load_post
TT_Init_Face_Func init_face
TT_Set_SBit_Strike_Func set_sbit_strike
TT_Load_SBit_Image_Func load_sbit_image
TT_Load_Face_Func load_face
TT_Get_Name_ID_Func get_name_id
TT_Load_Table_Func load_pclt
TT_Load_Metrics_Func load_hmtx
TT_Get_Name_Func get_name
TT_Loader_GotoTableFunc goto_table
TT_Load_Table_Func load_head
FT_UInt FT_UInt right_glyph
FT_Error(* TT_Loader_GotoTableFunc)(TT_Face face, FT_ULong tag, FT_Stream stream, FT_ULong *length)