commit | 3be0ffe45d1ba32ddd8d3af25ff2c420be85da76 | [log] [tgz] |
---|---|---|
author | Garret Rieger <[email protected]> | Thu May 16 11:29:15 2019 -0700 |
committer | Garret Rieger <[email protected]> | Mon May 20 13:35:46 2019 -0700 |
tree | 4ece289718be86d06c0a788f026df39630168391 | |
parent | 0ca7ad4352eff357cbb5cc1dfe62aa15b440de84 [diff] [blame] |
[subset] Add drop tables to subset input.
diff --git a/src/hb-subset.cc b/src/hb-subset.cc index a8ec14f..ab5e031 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc
@@ -237,6 +237,9 @@ static bool _should_drop_table (hb_subset_plan_t *plan, hb_tag_t tag) { + if (plan->drop_tables->has (tag)) + return true; + switch (tag) { case HB_TAG ('c', 'v', 'a', 'r'): /* hint table, fallthrough */ case HB_TAG ('c', 'v', 't', ' '): /* hint table, fallthrough */