Lines Matching refs:OT
33 _calculate_glyf_and_loca_prime_size (const OT::glyf::accelerator_t &glyf, 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()
83 * (*use_short_loca ? sizeof (OT::HBUINT16) : sizeof (OT::HBUINT32)); in _calculate_glyf_and_loca_prime_size()
99 unsigned int entry_size = is_short ? sizeof (OT::HBUINT16) : sizeof (OT::HBUINT32); in _write_loca_entry()
103 ((OT::HBUINT16*) loca_prime) [id].set (offset / 2); in _write_loca_entry()
105 ((OT::HBUINT32*) loca_prime) [id].set (offset); in _write_loca_entry()
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()
149 OT::HBUINT16 *flags = const_cast<OT::HBUINT16 *> (&glyph->flags); 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()
227 _hb_subset_glyf_and_loca (const OT::glyf::accelerator_t &glyf, 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()