completely remove lines that are commented out

This commit is contained in:
Qunxin Liu 2019-03-26 10:37:24 -07:00 committed by Garret Rieger
parent 3147133b61
commit 2d9034491e
2 changed files with 0 additions and 9 deletions

View File

@ -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);

View File

@ -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<hb_codepoint_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;