From 02f909664fa24a7ccf7cf73d75d1d3426aaaae7d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 22 Dec 2013 19:35:27 -0500 Subject: [PATCH] Minor correction to kern mask checking --- src/hb-ot-shape-fallback.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape-fallback.cc b/src/hb-ot-shape-fallback.cc index 449b64e5c..4d8fb546e 100644 --- a/src/hb-ot-shape-fallback.cc +++ b/src/hb-ot-shape-fallback.cc @@ -430,8 +430,8 @@ _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')); + hb_mask_t kern_mask = plan->map.get_mask (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ? + HB_TAG ('k','e','r','n') : HB_TAG ('v','k','r','n')); if (!kern_mask) return; unsigned int count = buffer->len;