[instancer] remove the warning for CFF partial instancing

Don't print from the library
This commit is contained in:
Qunxin Liu 2024-07-01 09:36:19 -07:00 committed by Behdad Esfahbod
parent b8087dbdd5
commit e079dd2030

View file

@ -666,9 +666,6 @@ OT::cff2::accelerator_subset_t::serialize (hb_serialize_context_t *c,
bool
OT::cff2::accelerator_subset_t::subset (hb_subset_context_t *c) const
{
if (c->plan->normalized_coords && !c->plan->all_axes_pinned)
fprintf (stdout, "warning: CFF partial instancing is not supported.\n");
cff2_subset_plan cff2_plan;
if (unlikely (!cff2_plan.create (*this, c->plan))) return false;