[subset] for keep everything, don't drop any tables.

This commit is contained in:
Garret Rieger 2023-01-31 17:37:37 +00:00 committed by Behdad Esfahbod
parent 277003d553
commit 2b6d74b42e
1 changed files with 5 additions and 1 deletions

View File

@ -404,10 +404,14 @@ hb_subset_input_keep_everything (hb_subset_input_t *input)
hb_set_invert (set); hb_set_invert (set);
} }
// Don't drop any tables
hb_set_clear (hb_subset_input_set (input, HB_SUBSET_SETS_DROP_TABLE_TAG));
hb_subset_input_set_flags (input, hb_subset_input_set_flags (input,
HB_SUBSET_FLAGS_NOTDEF_OUTLINE | HB_SUBSET_FLAGS_NOTDEF_OUTLINE |
HB_SUBSET_FLAGS_GLYPH_NAMES | HB_SUBSET_FLAGS_GLYPH_NAMES |
HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES); HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES |
HB_SUBSET_FLAGS_PASSTHROUGH_UNRECOGNIZED);
} }
#ifndef HB_NO_VAR #ifndef HB_NO_VAR