[instancer] add a warning for CFF partial instancing

It's not supported yet
This commit is contained in:
Qunxin Liu 2024-05-07 13:55:03 -07:00 committed by Behdad Esfahbod
parent a3d8a59dc2
commit 0e1ffd77f9

View file

@ -666,6 +666,9 @@ 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;