From: Behdad Esfahbod Date: Mon, 17 Jun 2019 21:06:04 +0000 (-0700) Subject: Disable non-OpenType kerning with hb-ft in HB_TINY X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfb5569d530a2b65dafd0d9be45d594af9e742ce;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Disable non-OpenType kerning with hb-ft in HB_TINY --- diff --git a/src/hb-ft.cc b/src/hb-ft.cc index c24a0e2..d40e8fa 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -346,6 +346,7 @@ hb_ft_get_glyph_v_origin (hb_font_t *font, return true; } +#ifndef HB_NO_OT_SHAPE_FALLBACK static hb_position_t hb_ft_get_glyph_h_kerning (hb_font_t *font, void *font_data, @@ -362,6 +363,7 @@ hb_ft_get_glyph_h_kerning (hb_font_t *font, return kerningv.x; } +#endif static hb_bool_t hb_ft_get_glyph_extents (hb_font_t *font, @@ -514,7 +516,9 @@ static struct hb_ft_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t