diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc index 3857c2c8c..8b7231494 100644 --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc @@ -144,10 +144,6 @@ _populate_gids_to_retain (hb_face_t *face, _remove_invalid_gids (all_gids_to_retain, face->get_num_glyphs ()); - //glyphs->alloc (all_gids_to_retain->get_population ()); - //gid = HB_SET_VALUE_INVALID; - //while (all_gids_to_retain->next (&gid)) - //glyphs->push (gid); cff.fini (); glyf.fini (); @@ -209,7 +205,6 @@ hb_subset_plan_create (hb_face_t *face, plan->drop_layout = input->drop_layout; plan->desubroutinize = input->desubroutinize; plan->unicodes = hb_set_create(); - //plan->glyphs_deprecated.init(); plan->source = hb_face_reference (face); plan->dest = hb_face_builder_create (); plan->codepoint_to_glyph = hb_map_create(); @@ -243,7 +238,6 @@ hb_subset_plan_destroy (hb_subset_plan_t *plan) if (!hb_object_destroy (plan)) return; hb_set_destroy (plan->unicodes); - //plan->glyphs_deprecated.fini (); hb_face_destroy (plan->source); hb_face_destroy (plan->dest); hb_map_destroy (plan->codepoint_to_glyph); diff --git a/src/hb-subset-plan.hh b/src/hb-subset-plan.hh index 650a40b01..56726d4d0 100644 --- a/src/hb-subset-plan.hh +++ b/src/hb-subset-plan.hh @@ -53,9 +53,6 @@ struct hb_subset_plan_t hb_map_t *glyph_map; hb_map_t *reverse_glyph_map; - // Deprecated members: - //hb_vector_t glyphs_deprecated; - // Plan is only good for a specific source/dest so keep them with it hb_face_t *source; hb_face_t *dest;