#include "t1driver.h"
#include "t1gload.h"
#include "t1load.h"
#include "t1errors.h"
#ifndef T1_CONFIG_OPTION_NO_AFM
#include "t1afm.h"
#endif
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/fthash.h>
#include <freetype/internal/ftpsprop.h>
#include <freetype/ftdriver.h>
#include <freetype/internal/services/svmm.h>
#include <freetype/internal/services/svgldict.h>
#include <freetype/internal/services/svfntfmt.h>
#include <freetype/internal/services/svpostnm.h>
#include <freetype/internal/services/svpscmap.h>
#include <freetype/internal/services/svpsinfo.h>
#include <freetype/internal/services/svprop.h>
#include <freetype/internal/services/svkern.h>
#undef FT_COMPONENT
#define FT_COMPONENT …
FT_CALLBACK_DEF( FT_Error )
t1_get_glyph_name( FT_Face face,
FT_UInt glyph_index,
FT_Pointer buffer,
FT_UInt buffer_max )
{ … }
FT_CALLBACK_DEF( FT_UInt )
t1_get_name_index( FT_Face face,
const FT_String* glyph_name )
{ … }
static const FT_Service_GlyphDictRec t1_service_glyph_dict = …;
static const char*
t1_get_ps_name( FT_Face face )
{ … }
static const FT_Service_PsFontNameRec t1_service_ps_name = …;
#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
static const FT_Service_MultiMastersRec t1_service_multi_masters = …;
#endif
static FT_Error
t1_ps_get_font_info( FT_Face face,
PS_FontInfoRec* afont_info )
{ … }
static FT_Error
t1_ps_get_font_extra( FT_Face face,
PS_FontExtraRec* afont_extra )
{ … }
static FT_Int
t1_ps_has_glyph_names( FT_Face face )
{ … }
static FT_Error
t1_ps_get_font_private( FT_Face face,
PS_PrivateRec* afont_private )
{ … }
static FT_Long
t1_ps_get_font_value( FT_Face face,
PS_Dict_Keys key,
FT_UInt idx,
void *value,
FT_Long value_len_ )
{ … }
static const FT_Service_PsInfoRec t1_service_ps_info = …;
#ifndef T1_CONFIG_OPTION_NO_AFM
static const FT_Service_KerningRec t1_service_kerning = …;
#endif
FT_DEFINE_SERVICE_PROPERTIESREC(
t1_service_properties,
ps_property_set,
ps_property_get
)
static const FT_ServiceDescRec t1_services[] = …;
FT_CALLBACK_DEF( FT_Module_Interface )
Get_Interface( FT_Module module,
const FT_String* t1_interface )
{ … }
#ifndef T1_CONFIG_OPTION_NO_AFM
static FT_Error
Get_Kerning( FT_Face t1face,
FT_UInt left_glyph,
FT_UInt right_glyph,
FT_Vector* kerning )
{ … }
#endif
FT_CALLBACK_TABLE_DEF
const FT_Driver_ClassRec t1_driver_class = …;