[ft] Add missing lock to kerning function
This commit is contained in:
parent
da4b6f1527
commit
05e82aa12e
src
|
@ -426,6 +426,7 @@ hb_ft_get_glyph_h_kerning (hb_font_t *font,
|
||||||
void *user_data HB_UNUSED)
|
void *user_data HB_UNUSED)
|
||||||
{
|
{
|
||||||
const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data;
|
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_Vector kerningv;
|
||||||
|
|
||||||
FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED;
|
FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED;
|
||||||
|
|
Loading…
Reference in New Issue