From dd22a8f7bfd424a69286e90f79d2a23af6e89ec1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 May 2010 16:43:17 +0100 Subject: [PATCH] Add note --- src/hb-ot-layout-gsub-private.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-layout-gsub-private.hh b/src/hb-ot-layout-gsub-private.hh index d64c095..9af5b63 100644 --- a/src/hb-ot-layout-gsub-private.hh +++ b/src/hb-ot-layout-gsub-private.hh @@ -286,6 +286,7 @@ struct AlternateSubstFormat1 if (unlikely (!alt_set.len)) return false; + /* Note: This breaks badly if two features enabled this lookup together. */ unsigned int shift = _hb_ctz (lookup_mask); unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift); -- 2.7.4