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;
#ifndef HB_NO_OT_LIGATURES_FAST_PATH
if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 2)
#ifndef HB_NO_OT_RULESETS_FAST_PATH
if (HB_OPTIMIZE_SIZE_VAL || num_ligs <= 4)
#endif
{
slow:

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

@ -2165,7 +2165,9 @@ struct RuleSet
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:
return_trace (
@ -3305,7 +3307,9 @@ struct ChainRuleSet
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:
return_trace (

Loading…
Cancel
Save