From d894a10699c08ebf2f4854f28b6343a6b5ff7aea Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Feb 2023 10:48:41 -0700 Subject: [PATCH] [wasm-shape] Debug message --- src/hb-wasm-shape.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-wasm-shape.cc b/src/hb-wasm-shape.cc index 305db2910..507ca1664 100644 --- a/src/hb-wasm-shape.cc +++ b/src/hb-wasm-shape.cc @@ -348,7 +348,10 @@ retry: DEBUG_MSG (WASM, module_inst, "Calling shape() failed: %s", wasm_runtime_get_exception (module_inst)); if (retried) + { + DEBUG_MSG (WASM, font, "Giving up..."); goto fail; + } buffer->successful = true; retried = true; release_shape_plan (face_data, plan);