sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
sfnt.h File Reference

Go to the source code of this file.

Classes

struct  SFNT_Interface_

Macros

#define FT_DEFINE_SFNT_INTERFACE( class_, goto_table_, init_face_, load_face_, done_face_, get_interface_, load_any_, load_head_, load_hhea_, load_cmap_, load_maxp_, load_os2_, load_post_, load_name_, free_name_, load_kern_, load_gpos_, load_gasp_, load_pclt_, load_bhed_, load_sbit_image_, get_psname_, free_psnames_, get_kerning_, get_gpos_kerning_, load_font_dir_, load_hmtx_, load_eblc_, free_eblc_, set_sbit_strike_, load_strike_metrics_, load_cpal_, load_colr_, free_cpal_, free_colr_, set_palette_, get_colr_layer_, get_colr_glyph_paint_, get_color_glyph_clipbox, get_paint_layers_, get_colorline_stops_, get_paint_, colr_blend_, get_metrics_, get_name_, get_name_id_, load_svg_, free_svg_, load_svg_doc_)

Typedefs

typedef FT_Error(*) TT_Load_Face_Func(FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
typedef void(*) TT_Done_Face_Func(TT_Face face)
typedef FT_Error(*) TT_Load_Any_Func(TT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)
typedef 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)
typedef FT_Error(*) TT_Load_SBit_Metrics_Func(FT_Stream stream, TT_SBit_Range range, TT_SBit_Metrics metrics)
typedef 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)
typedef FT_Error(*) TT_Load_Svg_Doc_Func(FT_GlyphSlot glyph, FT_UInt glyph_index)
typedef FT_Error(*) TT_Set_SBit_Strike_Func(TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)
typedef FT_Error(*) TT_Load_Strike_Metrics_Func(TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)
typedef FT_Error(*) TT_Get_PS_Name_Func(TT_Face face, FT_UInt idx, FT_String **PSname)
typedef FT_Error(*) TT_Load_Metrics_Func(TT_Face face, FT_Stream stream, FT_Bool vertical)
typedef void(*) TT_Get_Metrics_Func(TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)
typedef FT_Error(*) TT_Set_Palette_Func(TT_Face face, FT_UInt idx)
typedef FT_Bool(*) TT_Get_Colr_Layer_Func(TT_Face face, FT_UInt base_glyph, FT_UInt *aglyph_index, FT_UInt *acolor_index, FT_LayerIterator *iterator)
typedef FT_Bool(*) TT_Get_Color_Glyph_Paint_Func(TT_Face face, FT_UInt base_glyph, FT_Color_Root_Transform root_transform, FT_OpaquePaint *paint)
typedef FT_Bool(*) TT_Get_Color_Glyph_ClipBox_Func(TT_Face face, FT_UInt base_glyph, FT_ClipBox *clip_box)
typedef FT_Bool(*) TT_Get_Paint_Layers_Func(TT_Face face, FT_LayerIterator *iterator, FT_OpaquePaint *paint)
typedef FT_Bool(*) TT_Get_Colorline_Stops_Func(TT_Face face, FT_ColorStop *color_stop, FT_ColorStopIterator *iterator)
typedef FT_Bool(*) TT_Get_Paint_Func(TT_Face face, FT_OpaquePaint opaque_paint, FT_COLR_Paint *paint)
typedef FT_Error(*) TT_Blend_Colr_Func(TT_Face face, FT_UInt color_index, FT_GlyphSlot base_glyph, FT_GlyphSlot new_glyph)
typedef FT_Error(*) TT_Get_Name_Func(TT_Face face, FT_UShort nameid, FT_String **name)
typedef FT_Bool(*) TT_Get_Name_ID_Func(TT_Face face, FT_UShort nameid, FT_Int *win, FT_Int *apple)
typedef FT_Error(*) TT_Load_Table_Func(TT_Face face, FT_Stream stream)
typedef void(*) TT_Free_Table_Func(TT_Face face)
typedef FT_Int(*) TT_Face_GetKerningFunc(TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)
typedef struct SFNT_Interface_ SFNT_Interface
typedef SFNT_Interface * SFNT_Service

Variables

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)

Macro Definition Documentation

◆ FT_DEFINE_SFNT_INTERFACE

#define FT_DEFINE_SFNT_INTERFACE ( class_,
goto_table_,
init_face_,
load_face_,
done_face_,
get_interface_,
load_any_,
load_head_,
load_hhea_,
load_cmap_,
load_maxp_,
load_os2_,
load_post_,
load_name_,
free_name_,
load_kern_,
load_gpos_,
load_gasp_,
load_pclt_,
load_bhed_,
load_sbit_image_,
get_psname_,
free_psnames_,
get_kerning_,
get_gpos_kerning_,
load_font_dir_,
load_hmtx_,
load_eblc_,
free_eblc_,
set_sbit_strike_,
load_strike_metrics_,
load_cpal_,
load_colr_,
free_cpal_,
free_colr_,
set_palette_,
get_colr_layer_,
get_colr_glyph_paint_,
get_color_glyph_clipbox,
get_paint_layers_,
get_colorline_stops_,
get_paint_,
colr_blend_,
get_metrics_,
get_name_,
get_name_id_,
load_svg_,
free_svg_,
load_svg_doc_ )

Definition at line 995 of file sfnt.h.

Typedef Documentation

◆ SFNT_Service

typedef SFNT_Interface* SFNT_Service

Definition at line 992 of file sfnt.h.

◆ TT_Blend_Colr_Func

typedef FT_Error(*) TT_Blend_Colr_Func(TT_Face face, FT_UInt color_index, FT_GlyphSlot base_glyph, FT_GlyphSlot new_glyph)

Definition at line 753 of file sfnt.h.

◆ TT_Done_Face_Func

typedef void(*) TT_Done_Face_Func(TT_Face face)

Definition at line 140 of file sfnt.h.

◆ TT_Face_GetKerningFunc

typedef FT_Int(*) TT_Face_GetKerningFunc(TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)

Definition at line 887 of file sfnt.h.

◆ TT_Find_SBit_Image_Func

typedef 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)

Definition at line 224 of file sfnt.h.

◆ TT_Free_Table_Func

typedef void(*) TT_Free_Table_Func(TT_Face face)

Definition at line 863 of file sfnt.h.

◆ TT_Get_Color_Glyph_ClipBox_Func

typedef FT_Bool(*) TT_Get_Color_Glyph_ClipBox_Func(TT_Face face, FT_UInt base_glyph, FT_ClipBox *clip_box)

Definition at line 621 of file sfnt.h.

◆ TT_Get_Color_Glyph_Paint_Func

typedef FT_Bool(*) TT_Get_Color_Glyph_Paint_Func(TT_Face face, FT_UInt base_glyph, FT_Color_Root_Transform root_transform, FT_OpaquePaint *paint)

Definition at line 582 of file sfnt.h.

◆ TT_Get_Colorline_Stops_Func

typedef FT_Bool(*) TT_Get_Colorline_Stops_Func(TT_Face face, FT_ColorStop *color_stop, FT_ColorStopIterator *iterator)

Definition at line 687 of file sfnt.h.

◆ TT_Get_Colr_Layer_Func

typedef FT_Bool(*) TT_Get_Colr_Layer_Func(TT_Face face, FT_UInt base_glyph, FT_UInt *aglyph_index, FT_UInt *acolor_index, FT_LayerIterator *iterator)

Definition at line 550 of file sfnt.h.

◆ TT_Get_Metrics_Func

typedef void(*) TT_Get_Metrics_Func(TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)

Definition at line 483 of file sfnt.h.

◆ TT_Get_Name_Func

typedef FT_Error(*) TT_Get_Name_Func(TT_Face face, FT_UShort nameid, FT_String **name)

Definition at line 783 of file sfnt.h.

◆ TT_Get_Name_ID_Func

typedef FT_Bool(*) TT_Get_Name_ID_Func(TT_Face face, FT_UShort nameid, FT_Int *win, FT_Int *apple)

Definition at line 817 of file sfnt.h.

◆ TT_Get_Paint_Func

typedef FT_Bool(*) TT_Get_Paint_Func(TT_Face face, FT_OpaquePaint opaque_paint, FT_COLR_Paint *paint)

Definition at line 716 of file sfnt.h.

◆ TT_Get_Paint_Layers_Func

typedef FT_Bool(*) TT_Get_Paint_Layers_Func(TT_Face face, FT_LayerIterator *iterator, FT_OpaquePaint *paint)

Definition at line 654 of file sfnt.h.

◆ TT_Get_PS_Name_Func

typedef FT_Error(*) TT_Get_PS_Name_Func(TT_Face face, FT_UInt idx, FT_String **PSname)

Definition at line 424 of file sfnt.h.

◆ TT_Load_Any_Func

typedef FT_Error(*) TT_Load_Any_Func(TT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)

Definition at line 183 of file sfnt.h.

◆ TT_Load_Face_Func

typedef FT_Error(*) TT_Load_Face_Func(FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)

Definition at line 117 of file sfnt.h.

◆ TT_Load_Metrics_Func

typedef FT_Error(*) TT_Load_Metrics_Func(TT_Face face, FT_Stream stream, FT_Bool vertical)

Definition at line 452 of file sfnt.h.

◆ TT_Load_SBit_Image_Func

typedef 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)

Definition at line 308 of file sfnt.h.

◆ TT_Load_SBit_Metrics_Func

typedef FT_Error(*) TT_Load_SBit_Metrics_Func(FT_Stream stream, TT_SBit_Range range, TT_SBit_Metrics metrics)

Definition at line 263 of file sfnt.h.

◆ TT_Load_Strike_Metrics_Func

typedef FT_Error(*) TT_Load_Strike_Metrics_Func(TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)

Definition at line 397 of file sfnt.h.

◆ TT_Load_Svg_Doc_Func

typedef FT_Error(*) TT_Load_Svg_Doc_Func(FT_GlyphSlot glyph, FT_UInt glyph_index)

Definition at line 340 of file sfnt.h.

◆ TT_Load_Table_Func

typedef FT_Error(*) TT_Load_Table_Func(TT_Face face, FT_Stream stream)

Definition at line 846 of file sfnt.h.

◆ TT_Set_Palette_Func

typedef FT_Error(*) TT_Set_Palette_Func(TT_Face face, FT_UInt idx)

Definition at line 509 of file sfnt.h.

◆ TT_Set_SBit_Strike_Func

typedef FT_Error(*) TT_Set_SBit_Strike_Func(TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)

Definition at line 368 of file sfnt.h.

Variable Documentation

◆ TT_Init_Face_Func

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_Stream stream,
TT_Face face,
FT_Int face_index,
FT_Int num_params,
FT_Parameter * params )

Definition at line 75 of file sfnt.h.