From 792071de4075cb9af0793f0d7c70da0780923bb6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 22 Oct 2018 23:38:34 -0700 Subject: [PATCH] [morx] Leave ligature on stack after ligating Test with Apple Color Emoji.ttf of ~66MB and following sequence: ./hb-shape Apple\ Color\ Emoji-old.ttf --font-funcs=ot -u U+1F468,200d,U+1F469,200d,U+1F467,200d,1f466 Should form full family if matching works correctly. It first makes family of three, then makes family of four out of that and the last two characters. Fixes https://github.com/harfbuzz/harfbuzz/issues/1292 --- src/hb-aat-layout-morx-table.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index 651af2188..ddb444c21 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -442,7 +442,6 @@ struct LigatureSubtable action_idx++; } while (!(action & LigActionLast)); - match_length = 0; buffer->move_to (end); }