diff --git a/util/shape-consumer.hh b/util/shape-consumer.hh index 11e4cc34a..220daa497 100644 --- a/util/shape-consumer.hh +++ b/util/shape-consumer.hh @@ -49,7 +49,6 @@ struct shape_consumer_t { output.new_line (); - for (unsigned int i = 0; i < 10000; i++) { shaper.populate_buffer (buffer, text, text_len); output.consume_text (buffer, text, text_len, shaper.utf8_clusters); @@ -59,7 +58,6 @@ struct shape_consumer_t output.shape_failed (buffer, text, text_len, shaper.utf8_clusters); return; } - } output.consume_glyphs (buffer, text, text_len, shaper.utf8_clusters); }