From d17155f5d26f7ecb75d24d190c28a46f179c5d37 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Wed, 13 Oct 2021 14:40:00 -0700 Subject: [PATCH] [repacker] use possibly updated root idx after isolate_subgraph. isolate_subgraph can change the root indices in some cases. So operations after the isolation need to use the roots from the output of isolate_subgraph. --- src/hb-repacker.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-repacker.hh b/src/hb-repacker.hh index 14e105694..288bae55f 100644 --- a/src/hb-repacker.hh +++ b/src/hb-repacker.hh @@ -1048,7 +1048,8 @@ static bool _try_isolating_subgraphs (const hb_vector_t