From 05c17787c4fc5283925920b546952ccca0ba4a00 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 12 Jul 2021 16:55:08 -0600 Subject: [PATCH] [buffer] Rewind cursor in clear_output() --- src/hb-buffer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 7aa37eaf0..7ca988dbc 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -297,6 +297,7 @@ hb_buffer_t::clear_output () have_output = true; have_positions = false; + idx = 0; out_len = 0; out_info = info; }