From 4a8a529068fc380298bb05b9d878bede3e9f4da1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 5 Jun 2012 19:17:02 -0400 Subject: [PATCH] Make hb-view err if all shapers failed --- util/view-cairo.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/view-cairo.hh b/util/view-cairo.hh index 31c7ade28..9b000b5dd 100644 --- a/util/view-cairo.hh +++ b/util/view-cairo.hh @@ -59,7 +59,7 @@ struct view_cairo_t { unsigned int text_len, hb_bool_t utf8_clusters) { - consume_glyphs (buffer, text, text_len, utf8_clusters); + fail (false, "all shapers failed"); } void consume_glyphs (hb_buffer_t *buffer, const char *text,