[iter] One more dagger
This commit is contained in:
parent
90b60bd690
commit
688069bbfb
|
@ -763,14 +763,11 @@ struct LigatureSet
|
||||||
|
|
||||||
bool would_apply (hb_would_apply_context_t *c) const
|
bool would_apply (hb_would_apply_context_t *c) const
|
||||||
{
|
{
|
||||||
unsigned int num_ligs = ligature.len;
|
return
|
||||||
for (unsigned int i = 0; i < num_ligs; i++)
|
+ hb_iter (ligature)
|
||||||
{
|
| hb_map ([&] (const OffsetTo<Ligature> &_) -> bool { return (this+_).would_apply (c); })
|
||||||
const Ligature &lig = this+ligature[i];
|
| hb_any
|
||||||
if (lig.would_apply (c))
|
;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool apply (hb_ot_apply_context_t *c) const
|
bool apply (hb_ot_apply_context_t *c) const
|
||||||
|
|
Loading…
Reference in New Issue