|
|
|
@ -168,11 +168,11 @@ _get_table_tags (const hb_subset_plan_t* plan, |
|
|
|
|
hb_concat ( |
|
|
|
|
+ hb_array (known_tables) |
|
|
|
|
| hb_filter ([&] (hb_tag_t tag) { |
|
|
|
|
return !_table_is_empty (plan->source, tag) && !plan->no_subset_tables->has (tag); |
|
|
|
|
return !_table_is_empty (plan->source, tag) && !plan->no_subset_tables.has (tag); |
|
|
|
|
}) |
|
|
|
|
| hb_map ([] (hb_tag_t tag) -> hb_tag_t { return tag; }), |
|
|
|
|
|
|
|
|
|
plan->no_subset_tables->iter () |
|
|
|
|
plan->no_subset_tables.iter () |
|
|
|
|
| hb_filter([&] (hb_tag_t tag) { |
|
|
|
|
return !_table_is_empty (plan->source, tag); |
|
|
|
|
})); |
|
|
|
@ -424,7 +424,7 @@ _subset_table (hb_subset_plan_t *plan, |
|
|
|
|
hb_vector_t<char> &buf, |
|
|
|
|
hb_tag_t tag) |
|
|
|
|
{ |
|
|
|
|
if (plan->no_subset_tables->has (tag)) { |
|
|
|
|
if (plan->no_subset_tables.has (tag)) { |
|
|
|
|
return _passthrough (plan, tag); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|