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

[kerx] Implement Format2 apply()

Still, not hooked.
上级 4b461785
...@@ -125,14 +125,11 @@ struct KerxSubTableFormat2 ...@@ -125,14 +125,11 @@ struct KerxSubTableFormat2
{ {
TRACE_APPLY (this); TRACE_APPLY (this);
/* TODO */
#if 0
accelerator_t accel (*this, accelerator_t accel (*this,
c->blob->data + c->blob->len, c->sanitizer.end, /* XXX Use SubTable length? */
c->face->get_num_glyphs ()); c->face->get_num_glyphs ());
hb_kern_machine_t<accelerator_t> machine (accel); hb_kern_machine_t<accelerator_t> machine (accel);
machine.kern (c->font, c->buffer, c->plan->kern_mask); machine.kern (c->font, c->buffer, c->plan->kern_mask);
#endif
return_trace (true); return_trace (true);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册