[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Tue Oct 13 19:35:17 PDT 2015
src/hb-ot-layout-common-private.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 613e630617074eb9b62b794cc37c9b42a7fb079b
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue Oct 13 23:33:28 2015 -0300
Reduce max nesting level from 8 to 6
We probably should implement better system to catch cyclic lookups.
But for now, this speeds up worst case behavior with broken fonts
considerably without compromising legitimate usecases.
https://github.com/behdad/harfbuzz/issues/139#issuecomment-147788447
diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh
index 6f818cb..ea61f5c 100644
--- a/src/hb-ot-layout-common-private.hh
+++ b/src/hb-ot-layout-common-private.hh
@@ -44,7 +44,7 @@ namespace OT {
#define NOT_COVERED ((unsigned int) -1)
-#define MAX_NESTING_LEVEL 8
+#define MAX_NESTING_LEVEL 6
#define MAX_CONTEXT_LENGTH 64
More information about the HarfBuzz
mailing list