From bfb5569d530a2b65dafd0d9be45d594af9e742ce Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 17 Jun 2019 14:06:04 -0700 Subject: [PATCH] Disable non-OpenType kerning with hb-ft in HB_TINY --- src/hb-ft.cc | 4 ++++ 1 file changed, 4 insertions(+) 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