Lines Matching refs:plan
93 _add_loca_and_head (hb_subset_plan_t * plan, Iterator padded_offsets) in _add_loca_and_head()
118 bool result = plan->add_table (HB_OT_TAG_loca, loca_blob) in _add_loca_and_head()
119 && _add_head_and_set_loca_version (plan, use_short_loca); in _add_loca_and_head()
148 const hb_subset_plan_t *plan) in serialize()
151 for (const auto &_ : it) _.serialize (c, plan); in serialize()
166 _populate_subset_glyphs (c->plan, &glyphs); in subset()
168 glyf_prime->serialize (c->serializer, hb_iter (glyphs), c->plan); in subset()
176 return_trace (c->serializer->check_success (_add_loca_and_head (c->plan, in subset()
182 _populate_subset_glyphs (const hb_subset_plan_t *plan, in _populate_subset_glyphs()
186 glyf.init (plan->source); in _populate_subset_glyphs()
188 + hb_range (plan->num_output_glyphs ()) in _populate_subset_glyphs()
195 if (!plan->old_gid_for_new_gid (new_gid, &subset_glyph.old_gid)) in _populate_subset_glyphs()
199 if (plan->drop_hints) subset_glyph.drop_hints_bytes (); in _populate_subset_glyphs()
211 _add_head_and_set_loca_version (hb_subset_plan_t *plan, bool use_short_loca) in _add_head_and_set_loca_version()
213 hb_blob_t *head_blob = hb_sanitize_context_t ().reference_table<head> (plan->source); in _add_head_and_set_loca_version()
222 bool success = plan->add_table (HB_OT_TAG_head, head_prime_blob); in _add_head_and_set_loca_version()
1059 const hb_subset_plan_t *plan) const in serialize()
1082 if (plan->new_gid_for_old_gid (_.glyphIndex, &new_gid)) in serialize()
1086 if (plan->drop_hints) Glyph (dest_glyph).drop_hints (); in serialize()