From a441c6c16b8f8355ce58543ad95621455dcb0824 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 31 May 2022 07:52:04 -0600 Subject: [PATCH] [shape] Only verify if text_buffer is successful --- src/hb-shape.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hb-shape.cc b/src/hb-shape.cc index 627625451..3534921ef 100644 --- a/src/hb-shape.cc +++ b/src/hb-shape.cc @@ -146,8 +146,9 @@ hb_shape_full (hb_font_t *font, if (text_buffer) { - if (res && buffer->successful && !buffer->shaping_failed && - !buffer->verify (text_buffer, + if (res && buffer->successful && !buffer->shaping_failed + && text_buffer->successful + && !buffer->verify (text_buffer, font, features, num_features,