copy retain_gids from input to plan

This commit is contained in:
Michiharu Ariza 2019-04-26 10:12:38 -07:00
parent 3fc066314a
commit 474f3587cd
2 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,7 @@ hb_subset_plan_create (hb_face_t *face,
plan->drop_hints = input->drop_hints;
plan->drop_layout = input->drop_layout;
plan->desubroutinize = input->desubroutinize;
plan->retain_gids = input->retain_gids;
plan->unicodes = hb_set_create();
plan->source = hb_face_reference (face);
plan->dest = hb_face_builder_create ();

View File

@ -42,6 +42,7 @@ struct hb_subset_plan_t
bool drop_hints : 1;
bool drop_layout : 1;
bool desubroutinize : 1;
bool retain_gids : 1;
// For each cp that we'd like to retain maps to the corresponding gid.
hb_set_t *unicodes;