ReactOS  0.4.13-dev-1089-g05f0b08
sfnt.h File Reference
#include <ft2build.h>
Include dependency graph for sfnt.h:

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_gasp_, load_pclt_, load_bhed_, load_sbit_image_, get_psname_, free_psnames_, get_kerning_, load_font_dir_, load_hmtx_, load_eblc_, free_eblc_, set_sbit_strike_, load_strike_metrics_, get_metrics_, get_name_, get_name_id_)
 

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_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_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_InterfaceSFNT_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_gasp_,
  load_pclt_,
  load_bhed_,
  load_sbit_image_,
  get_psname_,
  free_psnames_,
  get_kerning_,
  load_font_dir_,
  load_hmtx_,
  load_eblc_,
  free_eblc_,
  set_sbit_strike_,
  load_strike_metrics_,
  get_metrics_,
  get_name_,
  get_name_id_ 
)

Definition at line 632 of file sfnt.h.

Typedef Documentation

◆ SFNT_Interface

◆ SFNT_Service

Definition at line 628 of file sfnt.h.

◆ TT_Done_Face_Func

typedef void(* TT_Done_Face_Func) (TT_Face face)

Definition at line 129 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 545 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 209 of file sfnt.h.

◆ TT_Free_Table_Func

typedef void(* TT_Free_Table_Func) (TT_Face face)

Definition at line 526 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 424 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 453 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 483 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 371 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 173 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 107 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 396 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 290 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 245 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 346 of file sfnt.h.

◆ TT_Load_Table_Func

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

Definition at line 510 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 320 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)

Definition at line 69 of file sfnt.h.