From a70543daf3f5f88c0bb4d1fc1515a9c0803297fc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Jan 2023 11:49:48 -0700 Subject: [PATCH] [aat] Always unsafe-to-concat in state machine --- src/hb-aat-layout-common.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index 4d10a2d7f..2e6274f34 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -783,6 +783,8 @@ struct StateTableDriver if (!c->in_place) buffer->clear_output (); + buffer->unsafe_to_concat (); + int state = StateTableT::STATE_START_OF_TEXT; auto *last_range = ac->range_flags && (*ac->range_flags) ? &(*ac->range_flags)[0] : nullptr; for (buffer->idx = 0; buffer->successful;)