[subset] Add morx, mort, kern, and kernx to the default layout tables drop list.

This commit is contained in:
Garret Rieger 2019-05-22 17:36:16 -07:00
parent 993d81b9c5
commit ff7fc6d488
2 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,10 @@ hb_subset_input_create_or_fail ()
HB_TAG ('G', 'S', 'U', 'B'), HB_TAG ('G', 'S', 'U', 'B'),
HB_TAG ('G', 'P', 'O', 'S'), HB_TAG ('G', 'P', 'O', 'S'),
HB_TAG ('G', 'D', 'E', 'F'), HB_TAG ('G', 'D', 'E', 'F'),
HB_TAG ('m', 'o', 'r', 'x'),
HB_TAG ('m', 'o', 'r', 't'),
HB_TAG ('k', 'e', 'r', 'x'),
HB_TAG ('k', 'e', 'r', 'n'),
// Copied from fontTools: // Copied from fontTools:
HB_TAG ('B', 'A', 'S', 'E'), HB_TAG ('B', 'A', 'S', 'E'),

View File

@ -254,6 +254,10 @@ _should_drop_table (hb_subset_plan_t *plan, hb_tag_t tag)
case HB_OT_TAG_GDEF: case HB_OT_TAG_GDEF:
case HB_OT_TAG_GPOS: case HB_OT_TAG_GPOS:
case HB_OT_TAG_GSUB: case HB_OT_TAG_GSUB:
case HB_TAG ('m', 'o', 'r', 'x'):
case HB_TAG ('m', 'o', 'r', 't'):
case HB_TAG ('k', 'e', 'r', 'x'):
case HB_TAG ('k', 'e', 'r', 'n'):
return true; return true;
#endif #endif