[subset] Skip subsetting vhea.

pull/867/head
Garret Rieger 7 years ago
parent 64cf53d619
commit 0e8f9430c8
  1. 3
      src/hb-subset.cc

@ -252,6 +252,9 @@ _subset_table (hb_subset_plan_t *plan,
case HB_OT_TAG_hmtx: case HB_OT_TAG_hmtx:
result = _subset<const OT::hmtx> (plan); result = _subset<const OT::hmtx> (plan);
break; break;
case HB_OT_TAG_vhea:
DEBUG_MSG(SUBSET, nullptr, "skip vhea handled by hmtx");
return true;
case HB_OT_TAG_vmtx: case HB_OT_TAG_vmtx:
result = _subset<const OT::vmtx> (plan); result = _subset<const OT::vmtx> (plan);
break; break;

Loading…
Cancel
Save