w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hb-font.hh File Reference
#include "hb.hh"
#include "hb-face.hh"
#include "hb-shaper.hh"
#include "hb-shaper-list.hh"
Include dependency graph for hb-font.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hb_font_funcs_t
 
union  hb_font_funcs_t::get_t
 
struct  hb_font_funcs_t::get_t::get_funcs_t
 
struct  Null< hb_font_funcs_t >
 
struct  hb_font_t
 
struct  Null< hb_font_t >
 

Macros

#define HB_FONT_FUNCS_IMPLEMENT_CALLBACKS
 
#define HB_FONT_FUNC_IMPLEMENT(name)   void *name;
 
#define HB_FONT_FUNC_IMPLEMENT(name)   hb_destroy_func_t name;
 
#define HB_FONT_FUNC_IMPLEMENT(name)   hb_font_get_##name##_func_t name;
 
#define HB_FONT_FUNC_IMPLEMENT(name)   +1
 
#define HB_SHAPER_IMPLEMENT(shaper)   HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, font);
 
#define HB_FONT_FUNC_IMPLEMENT(name)
 

Variables

const hb_font_funcs_t _hb_Null_hb_font_funcs_t
 
const hb_font_t _hb_Null_hb_font_t
 

Macro Definition Documentation

◆ HB_FONT_FUNC_IMPLEMENT [1/5]

#define HB_FONT_FUNC_IMPLEMENT (   name)    void *name;

Definition at line 180 of file hb-font.hh.

◆ HB_FONT_FUNC_IMPLEMENT [2/5]

#define HB_FONT_FUNC_IMPLEMENT (   name)    hb_destroy_func_t name;

Definition at line 180 of file hb-font.hh.

◆ HB_FONT_FUNC_IMPLEMENT [3/5]

#define HB_FONT_FUNC_IMPLEMENT (   name)    hb_font_get_##name##_func_t name;

Definition at line 180 of file hb-font.hh.

◆ HB_FONT_FUNC_IMPLEMENT [4/5]

#define HB_FONT_FUNC_IMPLEMENT (   name)    +1

Definition at line 180 of file hb-font.hh.

◆ HB_FONT_FUNC_IMPLEMENT [5/5]

#define HB_FONT_FUNC_IMPLEMENT (   name)
Value:
bool \
has_##name##_func () \
{ \
hb_font_funcs_t *funcs = this->klass; \
unsigned int i = offsetof (hb_font_funcs_t::get_t::get_funcs_t, name) / sizeof (funcs->get.array[0]); \
return has_func (i); \
} \
bool \
has_##name##_func_set () \
{ \
hb_font_funcs_t *funcs = this->klass; \
unsigned int i = offsetof (hb_font_funcs_t::get_t::get_funcs_t, name) / sizeof (funcs->get.array[0]); \
return has_func_set (i); \
}
#define name
small capitals from c petite p scientific i
Definition: afcover.h:80
static const luaL_Reg funcs[]
Definition: lutf8lib.c:238
#define offsetof(T, M)
Definition: dir.c:27

Definition at line 180 of file hb-font.hh.

◆ HB_FONT_FUNCS_IMPLEMENT_CALLBACKS

#define HB_FONT_FUNCS_IMPLEMENT_CALLBACKS
Value:
HB_FONT_FUNC_IMPLEMENT (font_h_extents) \
HB_FONT_FUNC_IMPLEMENT (font_v_extents) \
HB_FONT_FUNC_IMPLEMENT (nominal_glyph) \
HB_FONT_FUNC_IMPLEMENT (nominal_glyphs) \
HB_FONT_FUNC_IMPLEMENT (variation_glyph) \
HB_FONT_FUNC_IMPLEMENT (glyph_h_advance) \
HB_FONT_FUNC_IMPLEMENT (glyph_v_advance) \
HB_FONT_FUNC_IMPLEMENT (glyph_h_advances) \
HB_FONT_FUNC_IMPLEMENT (glyph_v_advances) \
HB_FONT_FUNC_IMPLEMENT (glyph_h_origin) \
HB_FONT_FUNC_IMPLEMENT (glyph_v_origin) \
HB_FONT_FUNC_IMPLEMENT (glyph_h_kerning) \
HB_IF_NOT_DEPRECATED (HB_FONT_FUNC_IMPLEMENT (glyph_v_kerning)) \
HB_FONT_FUNC_IMPLEMENT (glyph_extents) \
HB_FONT_FUNC_IMPLEMENT (glyph_contour_point) \
HB_FONT_FUNC_IMPLEMENT (glyph_name) \
HB_FONT_FUNC_IMPLEMENT (glyph_from_name) \
/* ^--- Add new callbacks here */
#define HB_FONT_FUNC_IMPLEMENT(name)
Definition: hb-font.hh:180

Definition at line 42 of file hb-font.hh.

◆ HB_SHAPER_IMPLEMENT

#define HB_SHAPER_IMPLEMENT (   shaper)    HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, font);

Definition at line 99 of file hb-font.hh.

Variable Documentation

◆ _hb_Null_hb_font_funcs_t

const hb_font_funcs_t _hb_Null_hb_font_funcs_t
extern

Definition at line 504 of file hb-font.cc.

◆ _hb_Null_hb_font_t

const hb_font_t _hb_Null_hb_font_t
extern

Definition at line 1465 of file hb-font.cc.