[API] Remove font_funcs func getter functions
This commit is contained in:
parent
defc45be6d
commit
686c2d165d
|
@ -205,38 +205,6 @@ hb_font_funcs_set_kerning_func (hb_font_funcs_t *ffuncs,
|
|||
}
|
||||
|
||||
|
||||
hb_font_get_glyph_func_t
|
||||
hb_font_funcs_get_glyph_func (hb_font_funcs_t *ffuncs)
|
||||
{
|
||||
return ffuncs->v.get_glyph;
|
||||
}
|
||||
|
||||
hb_font_get_glyph_advance_func_t
|
||||
hb_font_funcs_get_glyph_advance_func (hb_font_funcs_t *ffuncs)
|
||||
{
|
||||
return ffuncs->v.get_glyph_advance;
|
||||
}
|
||||
|
||||
hb_font_get_glyph_extents_func_t
|
||||
hb_font_funcs_get_glyph_extents_func (hb_font_funcs_t *ffuncs)
|
||||
{
|
||||
return ffuncs->v.get_glyph_extents;
|
||||
}
|
||||
|
||||
hb_font_get_contour_point_func_t
|
||||
hb_font_funcs_get_contour_point_func (hb_font_funcs_t *ffuncs)
|
||||
{
|
||||
return ffuncs->v.get_contour_point;
|
||||
}
|
||||
|
||||
hb_font_get_kerning_func_t
|
||||
hb_font_funcs_get_kerning_func (hb_font_funcs_t *ffuncs)
|
||||
{
|
||||
return ffuncs->v.get_kerning;
|
||||
}
|
||||
|
||||
|
||||
|
||||
hb_codepoint_t
|
||||
hb_font_get_glyph (hb_font_t *font,
|
||||
hb_codepoint_t unicode, hb_codepoint_t variation_selector)
|
||||
|
|
|
@ -157,24 +157,6 @@ hb_font_funcs_set_kerning_func (hb_font_funcs_t *ffuncs,
|
|||
hb_font_get_kerning_func_t kerning_func);
|
||||
|
||||
|
||||
/* These never return NULL. Return fallback defaults instead. */
|
||||
|
||||
hb_font_get_glyph_func_t
|
||||
hb_font_funcs_get_glyph_func (hb_font_funcs_t *ffuncs);
|
||||
|
||||
hb_font_get_glyph_advance_func_t
|
||||
hb_font_funcs_get_glyph_advance_func (hb_font_funcs_t *ffuncs);
|
||||
|
||||
hb_font_get_glyph_extents_func_t
|
||||
hb_font_funcs_get_glyph_extents_func (hb_font_funcs_t *ffuncs);
|
||||
|
||||
hb_font_get_contour_point_func_t
|
||||
hb_font_funcs_get_contour_point_func (hb_font_funcs_t *ffuncs);
|
||||
|
||||
hb_font_get_kerning_func_t
|
||||
hb_font_funcs_get_kerning_func (hb_font_funcs_t *ffuncs);
|
||||
|
||||
|
||||
hb_codepoint_t
|
||||
hb_font_get_glyph (hb_font_t *font,
|
||||
hb_codepoint_t unicode, hb_codepoint_t variation_selector);
|
||||
|
|
Loading…
Reference in New Issue