[kerx] Implement Format2 apply()

Still, not hooked.
This commit is contained in:
Behdad Esfahbod 2018-10-09 22:49:33 -04:00
parent 4b461785bd
commit c66f7f8c5d
1 changed files with 1 additions and 4 deletions

View File

@ -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);
} }