ReactOS 0.4.16-dev-1007-g2e85425
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_, load_cpal_, load_colr_, free_cpal_, free_colr_, set_palette_, get_colr_layer_, colr_blend_, 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_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_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_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_,
  load_cpal_,
  load_colr_,
  free_cpal_,
  free_colr_,
  set_palette_,
  get_colr_layer_,
  colr_blend_,
  get_metrics_,
  get_name_,
  get_name_id_ 
)

Definition at line 787 of file sfnt.h.

Typedef Documentation

◆ SFNT_Interface

◆ SFNT_Service

Definition at line 784 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 558 of file sfnt.h.

◆ TT_Done_Face_Func

typedef void(* TT_Done_Face_Func) (TT_Face face)

Definition at line 136 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 692 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 220 of file sfnt.h.

◆ TT_Free_Table_Func

typedef void(* TT_Free_Table_Func) (TT_Face face)

Definition at line 668 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 519 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 452 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 588 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 622 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 393 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 179 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 113 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 421 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 304 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 259 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 366 of file sfnt.h.

◆ TT_Load_Table_Func

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

Definition at line 651 of file sfnt.h.

◆ TT_Set_Palette_Func

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

Definition at line 478 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 337 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 71 of file sfnt.h.