pull/4324/head
Behdad Esfahbod 1 year ago
parent 645fabd101
commit 4973053109
  1. 4
      src/OT/Layout/GSUB/LigatureSet.hh
  2. 2
      src/hb-config.hh
  3. 8
      src/hb-ot-layout-gsubgpos.hh

@ -78,8 +78,8 @@ struct LigatureSet
unsigned int num_ligs = ligature.len; unsigned int num_ligs = ligature.len;
#ifndef HB_NO_OT_LIGATURES_FAST_PATH #ifndef HB_NO_OT_RULESETS_FAST_PATH
if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 2) if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 4)
#endif #endif
{ {
slow: slow:

@ -183,7 +183,7 @@
#endif #endif
#ifdef HB_OPTIMIZE_SIZE_MORE #ifdef HB_OPTIMIZE_SIZE_MORE
#define HB_NO_OT_LIGATURES_FAST_PATH #define HB_NO_OT_RULESETS_FAST_PATH
#endif #endif
#ifdef HB_MINIMIZE_MEMORY_USAGE #ifdef HB_MINIMIZE_MEMORY_USAGE

@ -2165,7 +2165,9 @@ struct RuleSet
unsigned num_rules = rule.len; unsigned num_rules = rule.len;
if (HB_OPTIMIZE_SIZE_VAL || num_rules <= 2) #ifndef HB_NO_OT_RULESETS_FAST_PATH
if (HB_OPTIMIZE_SIZE_VAL || num_rules <= 4)
#endif
{ {
slow: slow:
return_trace ( return_trace (
@ -3305,7 +3307,9 @@ struct ChainRuleSet
unsigned num_rules = rule.len; unsigned num_rules = rule.len;
if (HB_OPTIMIZE_SIZE_VAL || num_rules <= 2) #ifndef HB_NO_OT_RULESETS_FAST_PATH
if (HB_OPTIMIZE_SIZE_VAL || num_rules <= 4)
#endif
{ {
slow: slow:
return_trace ( return_trace (

Loading…
Cancel
Save