Make sure boolean features always use value=1
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 13 Oct 2010 19:54:06 +0000 (15:54 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 13 Oct 2010 19:54:06 +0000 (15:54 -0400)
commit39dede9ffffe732f78cbd092ccb3b48d77ddd66d
treec759165c3a9eea43d08ad6b57eb12355a767ce37
parent3506b2e78db27e7835bd2c09c053a9807c9cac40
Make sure boolean features always use value=1

Previously boolean features turned on the entire feature mask.  This is
wrong if feature is Alternate and user has provided values bigger than one.
Though, I don't think other engines support such corner cases.
src/hb-ot-map-private.hh
src/hb-ot-map.cc
src/hb-ot-shape-complex-arabic.cc
src/hb-ot-shape.cc