[glyf] Add fast __end__ to composite iterator

This commit is contained in:
Behdad Esfahbod 2022-06-25 17:45:21 -06:00
parent ef250eea7e
commit be1d4bcf29
1 changed files with 2 additions and 1 deletions

View File

@ -173,8 +173,9 @@ struct composite_iter_t : hb_iter_with_fallback_t<composite_iter_t, const Compos
set_next (&StructAtOffset<CompositeGlyphChain> (current, current_size));
}
composite_iter_t __end__ () const { return composite_iter_t (); }
bool operator != (const composite_iter_t& o) const
{ return glyph != o.glyph || current != o.current; }
{ return current != o.current; }
void set_next (const CompositeGlyphChain *composite)