提交 f4cbb1ee 编写于 作者: B Behdad Esfahbod

WIP

上级 471e96e5
......@@ -135,9 +135,11 @@ struct SingleSubstFormat2
void closure (hb_closure_context_t *c) const
{
for (auto it = hb_zip (this+coverage, substitute); it; ++it)
if (c->glyphs->has (it->first))
c->output->add (it->second);
for (auto it = hb_zip (this+coverage, substitute)
| hb_filter (*c->glyphs, hb_first)
| hb_map (hb_second);
it; ++it)
c->output->add (*it);
}
void collect_glyphs (hb_collect_glyphs_context_t *c) const
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册