[unsafe-to-concat] Mark as unsafe in kern machine
Fixes that last test. Yay!
This commit is contained in:
parent
14d43d1235
commit
bcdfedbc09
|
@ -406,7 +406,6 @@ struct KerxSubTableFormat2
|
|||
accelerator_t accel (*this, c);
|
||||
hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream);
|
||||
machine.kern (c->font, c->buffer, c->plan->kern_mask);
|
||||
c->buffer->set_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_CONCAT);
|
||||
|
||||
return_trace (true);
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ struct hb_kern_machine_t
|
|||
hb_mask_t kern_mask,
|
||||
bool scale = true) const
|
||||
{
|
||||
buffer->set_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_CONCAT);
|
||||
OT::hb_ot_apply_context_t c (1, font, buffer);
|
||||
c.set_lookup_mask (kern_mask);
|
||||
c.set_lookup_props (OT::LookupFlag::IgnoreMarks);
|
||||
|
@ -70,7 +71,6 @@ struct hb_kern_machine_t
|
|||
unsigned unsafe_to;
|
||||
if (!skippy_iter.next (&unsafe_to))
|
||||
{
|
||||
buffer->unsafe_to_concat (idx, unsafe_to);
|
||||
idx++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue