From: Behdad Esfahbod Date: Wed, 11 May 2011 00:04:26 +0000 (-0400) Subject: [API] Remove font_funcs func getter functions X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=686c2d165dfb284b74b78f6b902d04b585dcaef3;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [API] Remove font_funcs func getter functions --- diff --git a/src/hb-font.cc b/src/hb-font.cc index b189797..ae0beaa 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -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) diff --git a/src/hb-font.h b/src/hb-font.h index 1ab22ec..78a6c83 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -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);