Invert the mask logic
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 20 May 2010 13:00:57 +0000 (14:00 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 20 May 2010 13:00:57 +0000 (14:00 +0100)
commit009aad567863c05ee2ec4a3ee76fe0ee79c767bb
tree28804208aa58972b31656678658e8661f0d07677
parent7f411dbfd9f8d5360c948531ff9f6c3998d1d897
Invert the mask logic

Before, the mask in the buffer was inverted.  That is, a 0 bit meant
feature should be applied and 1 meant not applied, whereas in the
lookups, the logic was positive.

Now both are in sync.  When calling hb_buffer_add_glyph() manually,
the mask should be 1 instead of 0.
src/hb-buffer.cc
src/hb-ot-layout-gpos-private.hh
src/hb-ot-layout-gsub-private.hh