[kerx] Implement Format2 apply()
Still, not hooked.
This commit is contained in:
parent
4b461785bd
commit
c66f7f8c5d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user