Lines Matching refs:glyf
33 _calculate_glyf_and_loca_prime_size (const OT::glyf::accelerator_t &glyf, in _calculate_glyf_and_loca_prime_size() argument
56 if (unlikely (!(glyf.get_offsets (next_glyph, &start_offset, &end_offset) && in _calculate_glyf_and_loca_prime_size()
57 glyf.remove_padding (start_offset, &end_offset)))) in _calculate_glyf_and_loca_prime_size()
62 if (end_offset - start_offset < OT::glyf::GlyphHeader::static_size) in _calculate_glyf_and_loca_prime_size()
67 if (unlikely (!glyf.get_instruction_offsets (start_offset, end_offset, in _calculate_glyf_and_loca_prime_size()
124 OT::glyf::CompositeGlyphHeader::Iterator iterator; in _update_components()
125 if (OT::glyf::CompositeGlyphHeader::get_iterator (glyph_start, in _update_components()
136 ((OT::glyf::CompositeGlyphHeader *) iterator.current)->glyphIndex.set (new_gid); in _update_components()
144 OT::glyf::CompositeGlyphHeader::Iterator composite_it; in _remove_composite_instruction_flag()
145 …if (unlikely (!OT::glyf::CompositeGlyphHeader::get_iterator (glyf_prime, length, &composite_it))) … in _remove_composite_instruction_flag()
146 const OT::glyf::CompositeGlyphHeader *glyph; in _remove_composite_instruction_flag()
150 flags->set ( (uint16_t) *flags & ~OT::glyf::CompositeGlyphHeader::WE_HAVE_INSTRUCTIONS); in _remove_composite_instruction_flag()
157 const OT::glyf::accelerator_t &glyf, in _write_glyf_and_loca_prime() argument
173 if (unlikely (!(glyf.get_offsets (glyph_ids[i], &start_offset, &end_offset) && in _write_glyf_and_loca_prime()
174 glyf.remove_padding (start_offset, &end_offset)))) in _write_glyf_and_loca_prime()
227 _hb_subset_glyf_and_loca (const OT::glyf::accelerator_t &glyf, in _hb_subset_glyf_and_loca() argument
242 if (unlikely (!_calculate_glyf_and_loca_prime_size (glyf, in _hb_subset_glyf_and_loca()
255 if (unlikely (!_write_glyf_and_loca_prime (plan, glyf, glyf_data, in _hb_subset_glyf_and_loca()
294 hb_blob_t *glyf_blob = hb_sanitize_context_t ().reference_table<OT::glyf> (plan->source); in hb_subset_glyf_and_loca()
297 OT::glyf::accelerator_t glyf; in hb_subset_glyf_and_loca() local
298 glyf.init (plan->source); in hb_subset_glyf_and_loca()
299 bool result = _hb_subset_glyf_and_loca (glyf, in hb_subset_glyf_and_loca()
307 glyf.fini (); in hb_subset_glyf_and_loca()