Add note
This commit is contained in:
parent
0375bdd202
commit
dd22a8f7bf
|
@ -286,6 +286,7 @@ struct AlternateSubstFormat1
|
||||||
if (unlikely (!alt_set.len))
|
if (unlikely (!alt_set.len))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
/* Note: This breaks badly if two features enabled this lookup together. */
|
||||||
unsigned int shift = _hb_ctz (lookup_mask);
|
unsigned int shift = _hb_ctz (lookup_mask);
|
||||||
unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
|
unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue