[HVF] Fix drawing

This commit is contained in:
Behdad Esfahbod committed 2025-06-12 09:20:33 -06:00
1 parent e55fd3fcbb
commit 1eca1f31c7
1 file changed
+1 -1
+1 -1
View File
@@ -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; }