From 05e82aa12e8b85d7eaa31f7d25beb6bfd4c147ed Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 May 2022 12:17:31 -0600 Subject: [PATCH] [ft] Add missing lock to kerning function --- src/hb-ft.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ft.cc b/src/hb-ft.cc index d3c5d3db9..4537a8e6d 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -426,6 +426,7 @@ hb_ft_get_glyph_h_kerning (hb_font_t *font, void *user_data HB_UNUSED) { const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; + hb_lock_t lock (ft_font->lock); FT_Vector kerningv; FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED;