diff --git a/src/hb-subset.cc b/src/hb-subset.cc index f497700ed..f6be8d304 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -517,9 +517,7 @@ _subset_table (hb_subset_plan_t *plan, if (plan->user_axes_location.is_empty ()) return _passthrough (plan, tag); return _subset (plan, buf); case HB_OT_TAG_STAT: - /*TODO(qxliu): change the condition as we support more complex - * instancing operation*/ - if (plan->all_axes_pinned) return _subset (plan, buf); + if (!plan->user_axes_location.is_empty ()) return _subset (plan, buf); else return _passthrough (plan, tag); case HB_TAG ('c', 'v', 't', ' '):