[util] When --verify fails, return reconstructed shape results
This commit is contained in:
parent
099472e08b
commit
69d701b02e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue