From 60010a0c4d8efae5c61a0c9cf10cfe2c1860f41e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 20 May 2010 14:05:02 +0100 Subject: [PATCH] Update always-apply mask from 0xFFFF to 1 We plan to use the first bit to be always on. --- src/hb-ot-shape.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 801d0a355..c7afdc397 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -140,7 +140,7 @@ _hb_ot_substitute_complex (hb_font_t *font HB_UNUSED, lookups, &num_lookups); for (i = 0; i < num_lookups; i++) - hb_ot_layout_substitute_lookup (face, buffer, lookups[i], 0xFFFF); + hb_ot_layout_substitute_lookup (face, buffer, lookups[i], 1); return TRUE; } @@ -164,7 +164,7 @@ _hb_ot_position_complex (hb_font_t *font, lookups, &num_lookups); for (i = 0; i < num_lookups; i++) - hb_ot_layout_position_lookup (font, face, buffer, lookups[i], 0xFFFF); + hb_ot_layout_position_lookup (font, face, buffer, lookups[i], 1); hb_ot_layout_position_finish (font, face, buffer);