[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
|
bool intersects (const hb_set_t *glyphs) const
|
||||||
{
|
{
|
||||||
for (auto it = hb_zip (this+coverage, pairSet)
|
return
|
||||||
| hb_filter (*glyphs, hb_first)
|
+ hb_zip (this+coverage, pairSet)
|
||||||
| hb_map (hb_second); it; ++it)
|
| hb_filter (*glyphs, hb_first)
|
||||||
if ((this+*it).intersects (glyphs, valueFormat))
|
| hb_map (hb_second)
|
||||||
return true;
|
| hb_map ([&] (const OffsetTo<PairSet> &_) -> bool
|
||||||
return false;
|
{ return (this+_).intersects (glyphs, valueFormat); })
|
||||||
|
| hb_any
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
||||||
|
|
Loading…
Reference in New Issue