Update always-apply mask from 0xFFFF to 1
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 20 May 2010 13:05:02 +0000 (14:05 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 20 May 2010 13:05:02 +0000 (14:05 +0100)
We plan to use the first bit to be always on.

src/hb-ot-shape.cc

index 801d0a3..c7afdc3 100644 (file)
@@ -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);