mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Add note
This commit is contained in:
1 parent
0375bdd202
commit
dd22a8f7bf
1 file changed
+1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user