[kern] Refactoring.

This commit is contained in:
Evgeniy Reizner 2020-04-22 13:44:53 +03:00 committed by Behdad Esfahbod
parent 186976ebd6
commit 3e686d2459
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ struct hb_kern_machine_t
OT::hb_ot_apply_context_t c (1, font, buffer);
c.set_lookup_mask (kern_mask);
c.set_lookup_props (OT::LookupFlag::IgnoreMarks);
OT::hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c.iter_input;
skippy_iter.init (&c);
auto &skippy_iter = c.iter_input;
bool horizontal = HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction);
unsigned int count = buffer->len;