[serialize] Increase stage count from 8 to 32

Indic shaper uses many stages.  Now we are provably not limiting
functionality whereas the previous limit of 8 was assuming real-world
practices.
This commit is contained in:
Behdad Esfahbod 2018-07-30 17:03:06 -07:00
parent ee8cf91965
commit 66ccd8ac40
1 changed files with 3 additions and 1 deletions

View File

@ -45,8 +45,10 @@
/* /*
* The maximum number of times a lookup can be applied during shaping. * The maximum number of times a lookup can be applied during shaping.
* Used to limit the number of iterations of the closure algorithm. * Used to limit the number of iterations of the closure algorithm.
* This must be larger than the number of times add_pause() is
* called in a collect_features call of any shaper.
*/ */
#define HB_CLOSURE_MAX_STAGES 8 #define HB_CLOSURE_MAX_STAGES 32
#endif #endif