[instancer] remove the warning for CFF partial instancing

Don't print from the library
pull/4788/head
Qunxin Liu 8 months ago committed by Behdad Esfahbod
parent b8087dbdd5
commit e079dd2030
  1. 3
      src/hb-subset-cff2.cc

@ -666,9 +666,6 @@ OT::cff2::accelerator_subset_t::serialize (hb_serialize_context_t *c,
bool bool
OT::cff2::accelerator_subset_t::subset (hb_subset_context_t *c) const 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; cff2_subset_plan cff2_plan;
if (unlikely (!cff2_plan.create (*this, c->plan))) return false; if (unlikely (!cff2_plan.create (*this, c->plan))) return false;

Loading…
Cancel
Save