mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-27 16:49:42 +01:00
[LigatureSet] Use slow path only if <= 1 ligatures (#5462)
This commit is contained in:
1 parent
bbc2e0d0b5
commit
cf614fc85d
1 file changed
+1
-1
@@ -79,7 +79,7 @@ struct LigatureSet
|
||||
unsigned int num_ligs = ligature.len;
|
||||
|
||||
#ifndef HB_NO_OT_RULESETS_FAST_PATH
|
||||
if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 4)
|
||||
if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 1)
|
||||
#endif
|
||||
{
|
||||
slow:
|
||||
|
||||
Reference in new issue
Block a user