提交 69d701b0 编写于 作者: B Behdad Esfahbod

[util] When --verify fails, return reconstructed shape results

上级 099472e0
......@@ -416,11 +416,9 @@ struct shape_options_t : option_group_t
*error = "Safe-to-break test failed.";
ret = false;
if (0)
{
hb_buffer_set_length (buffer, 0);
hb_buffer_append (buffer, reconstruction, 0, -1);
}
/* Return the reconstructed result instead so it can be inspected. */
hb_buffer_set_length (buffer, 0);
hb_buffer_append (buffer, reconstruction, 0, -1);
}
hb_buffer_destroy (reconstruction);
......
......@@ -59,7 +59,7 @@ struct view_cairo_t
}
void error (const char *message)
{
fail (false, "%s", message);
g_printerr ("%s: %s\n", g_get_prgname (), message);
}
void consume_glyphs (hb_buffer_t *buffer,
const char *text,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册