[perf] fix the build

This commit is contained in:
Ebrahim Byagowi 2020-06-25 12:50:46 +04:30 committed by GitHub
parent 76ba619daa
commit 20d1fa3671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ static void draw (benchmark::State &state, const char *font_path, bool is_var, b
if (is_ft)
{
hb_ft_font_set_funcs (font);
FT_Face ft_face = hb_ft_font_get_face (font);
hb_ft_font_set_load_flags (font, FT_LOAD_NO_HINTING | FT_LOAD_NO_SCALE);