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; }