[hb-ft] Fix bitmap font rendering with hb_ft_font_changed()

Fixes https://github.com/harfbuzz/harfbuzz/issues/3754
Fixes https://github.com/harfbuzz/harfbuzz/issues/3755
This commit is contained in:
Behdad Esfahbod 2022-07-25 08:40:02 -06:00
parent 94de328011
commit 1ac21246a7
1 changed files with 2 additions and 1 deletions

View File

@ -1086,7 +1086,8 @@ hb_ft_font_changed (hb_font_t *font)
}
#endif
_hb_ft_hb_font_check_changed (font, ft_font);
ft_font->advance_cache.clear ();
ft_font->cached_serial = font->serial;
}
/**