| Index: third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc
|
| index 449b64e5ca792edcae1799d586ade74d25bce4a8..5d526c3a8e80d0f0ae498cd1a15ed8d9de2adca2 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc
|
| @@ -430,14 +430,12 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
|
| hb_font_t *font,
|
| hb_buffer_t *buffer)
|
| {
|
| - hb_mask_t kern_mask = plan->map.get_1_mask (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ?
|
| - HB_TAG ('k','e','r','n') : HB_TAG ('v','k','r','n'));
|
| - if (!kern_mask) return;
|
| + if (!plan->has_kern) return;
|
|
|
| unsigned int count = buffer->len;
|
|
|
| OT::hb_apply_context_t c (1, font, buffer);
|
| - c.set_lookup_mask (kern_mask);
|
| + c.set_lookup_mask (plan->kern_mask);
|
| c.set_lookup_props (OT::LookupFlag::IgnoreMarks);
|
|
|
| hb_glyph_info_t *info = buffer->info;
|
|
|