mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[instancer] add a warning for CFF partial instancing
It's not supported yet
This commit is contained in:
1 parent
a3d8a59dc2
commit
0e1ffd77f9
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user