diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index f50ca49d7..e58e04768 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -565,10 +565,10 @@ hb_ot_draw_glyph_or_fail (hb_font_t *font, #ifndef HB_NO_VAR_COMPOSITES if (font->face->table.VARC->get_path (font, glyph, draw_session)) { ret = true; goto done; } #endif + // Keep the following in synch with VARC::get_path_at() #ifndef HB_NO_VAR_HVF 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; } #ifndef HB_NO_CFF