WIP
This commit is contained in:
parent
471e96e55d
commit
f4cbb1ee0c
|
@ -135,9 +135,11 @@ struct SingleSubstFormat2
|
||||||
|
|
||||||
void closure (hb_closure_context_t *c) const
|
void closure (hb_closure_context_t *c) const
|
||||||
{
|
{
|
||||||
for (auto it = hb_zip (this+coverage, substitute); it; ++it)
|
for (auto it = hb_zip (this+coverage, substitute)
|
||||||
if (c->glyphs->has (it->first))
|
| hb_filter (*c->glyphs, hb_first)
|
||||||
c->output->add (it->second);
|
| hb_map (hb_second);
|
||||||
|
it; ++it)
|
||||||
|
c->output->add (*it);
|
||||||
}
|
}
|
||||||
|
|
||||||
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