try to remove deprecated variable from struct definition
diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc
index 49ab9e1..a001ebc 100644
--- a/src/hb-subset-plan.cc
+++ b/src/hb-subset-plan.cc
@@ -207,23 +207,24 @@
plan->drop_layout = input->drop_layout;
plan->desubroutinize = input->desubroutinize;
plan->unicodes = hb_set_create();
- plan->glyphs_deprecated.init();
+ //plan->glyphs_deprecated.init();
plan->source = hb_face_reference (face);
plan->dest = hb_face_builder_create ();
plan->codepoint_to_glyph = hb_map_create();
plan->glyph_map = hb_map_create();
plan->reverse_glyph_map = hb_map_create();
+ hb_vector_t<hb_codepoint_t> glyphs;
plan->_glyphset = _populate_gids_to_retain (face,
input->unicodes,
input->glyphs,
!plan->drop_layout,
plan->unicodes,
plan->codepoint_to_glyph,
- &plan->glyphs_deprecated);
+ &glyphs);
_create_old_gid_to_new_gid_map (face,
input->retain_gids,
- plan->glyphs_deprecated,
+ glyphs,
plan->glyph_map,
plan->reverse_glyph_map,
&plan->_num_output_glyphs);
@@ -242,7 +243,7 @@
if (!hb_object_destroy (plan)) return;
hb_set_destroy (plan->unicodes);
- plan->glyphs_deprecated.fini ();
+ //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 32c1999..650a40b 100644
--- a/src/hb-subset-plan.hh
+++ b/src/hb-subset-plan.hh
@@ -54,7 +54,7 @@
hb_map_t *reverse_glyph_map;
// Deprecated members:
- hb_vector_t<hb_codepoint_t> glyphs_deprecated;
+ //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;