summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQunxin Liu <qxliu@google.com>2019-03-26 10:37:24 -0700
committerGarret Rieger <grieger@google.com>2019-03-26 13:39:33 -0700
commit2d9034491eca0a63db82d3801f05c067a5241b7d (patch)
treefd3ba1f55ba02975052afab51fbad7920c786944 /src
parent3147133b6173487c26813a2a406aebd067b53fbf (diff)
completely remove lines that are commented out
Diffstat (limited to 'src')
-rw-r--r--src/hb-subset-plan.cc6
-rw-r--r--src/hb-subset-plan.hh3
2 files changed, 0 insertions, 9 deletions
diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc
index 3857c2c8..8b723149 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 650a40b0..56726d4d 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<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;