[AAT] Use a ring buffer for ligature stack
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 24 Jan 2019 17:12:25 +0000 (18:12 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 24 Jan 2019 17:12:25 +0000 (18:12 +0100)
commita371a28cda23805cbea22867e0a3ed53ecb811ed
tree16e9211bf37e0915119b636bc06dad2e968de6d6
parent7886b1578fceee368ae5afe206ff98f50e1c42e3
[AAT] Use a ring buffer for ligature stack

I think Apple does very similarly, but probably with a stack size of 16.
We do it with a stack size that is currently set to 64.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1531
src/hb-aat-layout-morx-table.hh