[iter] Port one more function to dagger
This commit is contained in:
parent
bcab098c8f
commit
f5ef8a7347
|
@ -722,12 +722,14 @@ struct PairPosFormat1
|
|||
{
|
||||
bool intersects (const hb_set_t *glyphs) const
|
||||
{
|
||||
for (auto it = hb_zip (this+coverage, pairSet)
|
||||
return
|
||||
+ hb_zip (this+coverage, pairSet)
|
||||
| hb_filter (*glyphs, hb_first)
|
||||
| hb_map (hb_second); it; ++it)
|
||||
if ((this+*it).intersects (glyphs, valueFormat))
|
||||
return true;
|
||||
return false;
|
||||
| hb_map (hb_second)
|
||||
| hb_map ([&] (const OffsetTo<PairSet> &_) -> bool
|
||||
{ return (this+_).intersects (glyphs, valueFormat); })
|
||||
| hb_any
|
||||
;
|
||||
}
|
||||
|
||||
void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
||||
|
|
Loading…
Reference in New Issue