[autofit] Fix HarfBuzz calling.

* src/autofit/afadjust.c (af_reverse_character_map_new)
  [FT_CONFIG_OPTION_USE_HARFBUZZ]: Use `ft_hb_enabled`.

Fixes issue #1354.
This commit is contained in:
Behdad Esfahbod 2025-09-08 05:57:19 +02:00 committed by Werner Lemberg
parent 9db5233ceb
commit e969f52986

View file

@ -1355,6 +1355,7 @@
#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
if ( ft_hb_enabled( globals ) )
{
hb_font_t *hb_font;
hb_face_t *hb_face;