From 1eca1f31c7f4065e840c5a97537fdfe4e9f48b9b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 12 Jun 2025 09:20:33 -0600 Subject: [PATCH] [HVF] Fix drawing --- src/hb-ot-font.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 1a81a853a..f50ca49d7 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -566,7 +566,7 @@ hb_ot_draw_glyph_or_fail (hb_font_t *font, if (font->face->table.VARC->get_path (font, glyph, draw_session)) { ret = true; goto done; } #endif #ifndef HB_NO_VAR_HVF - if (!font->face->table.hvgl->get_path (font, glyph, draw_session)) + if (font->face->table.hvgl->get_path (font, glyph, draw_session)) { ret = true; goto done; } #endif // Keep the following in synch with VARC::get_path_at() if (font->face->table.glyf->get_path (font, glyph, draw_session, gvar_cache)) { ret = true; goto done; }