From 279f13c1870148c0b649d8c435b58d4edf2bade2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 24 Jan 2023 11:50:59 -0700 Subject: [PATCH] [hb-shape] Write trace output to stderr --- util/shape-output.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/shape-output.hh b/util/shape-output.hh index 8d2080508..ebf8dc465 100644 --- a/util/shape-output.hh +++ b/util/shape-output.hh @@ -140,7 +140,7 @@ struct shape_output_t : output_options_t<> g_string_append_printf (gs, "trace: %s buffer: ", message); format.serialize (buffer, font, serialize_format, serialize_flags, gs); g_string_append_c (gs, '\n'); - fprintf (out_fp, "%s", gs->str); + fprintf (stderr, "%s", gs->str); }