#include "sfobjs.h"
#include "ttload.h"
#include "ttcmap.h"
#include "ttkern.h"
#include "sfwoff.h"
#include "sfwoff2.h"
#include <freetype/internal/sfnt.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/ttnameid.h>
#include <freetype/tttags.h>
#include <freetype/internal/services/svpscmap.h>
#include <freetype/ftsnames.h>
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
#include <freetype/internal/services/svmm.h>
#include <freetype/internal/services/svmetric.h>
#endif
#include "sferrors.h"
#ifdef TT_CONFIG_OPTION_BDF
#include "ttbdf.h"
#endif
#undef FT_COMPONENT
#define FT_COMPONENT …
static FT_String*
tt_name_ascii_from_utf16( TT_Name entry,
FT_Memory memory )
{ … }
static FT_String*
tt_name_ascii_from_other( TT_Name entry,
FT_Memory memory )
{ … }
TT_Name_ConvertFunc;
FT_LOCAL_DEF( FT_Error )
tt_face_get_name( TT_Face face,
FT_UShort nameid,
FT_String** name )
{ … }
static FT_Encoding
sfnt_find_encoding( int platform_id,
int encoding_id )
{ … }
static FT_Error
sfnt_open_font( FT_Stream stream,
TT_Face face,
FT_Int* face_instance_index,
FT_Long* woff2_num_faces )
{ … }
FT_LOCAL_DEF( FT_Error )
sfnt_init_face( FT_Stream stream,
TT_Face face,
FT_Int face_instance_index,
FT_Int num_params,
FT_Parameter* params )
{ … }
#define LOAD_ …
#define LOADM_ …
#define GET_NAME …
FT_LOCAL_DEF( FT_Error )
sfnt_load_face( FT_Stream stream,
TT_Face face,
FT_Int face_instance_index,
FT_Int num_params,
FT_Parameter* params )
{ … }
#undef LOAD_
#undef LOADM_
#undef GET_NAME
FT_LOCAL_DEF( void )
sfnt_done_face( TT_Face face )
{ … }