[util] Unbreak --show-text / --show-unicode
This commit is contained in:
parent
0dc3a4e034
commit
e4046080c5
@ -51,11 +51,11 @@ struct shape_consumer_t
|
||||
{
|
||||
output.new_line ();
|
||||
|
||||
output.consume_text (buffer, text, text_len, shaper.utf8_clusters);
|
||||
|
||||
for (unsigned int n = shaper.num_iterations; n; n--)
|
||||
{
|
||||
shaper.populate_buffer (buffer, text, text_len, text_before, text_after);
|
||||
if (n == 1)
|
||||
output.consume_text (buffer, text, text_len, shaper.utf8_clusters);
|
||||
if (!shaper.shape (font, buffer)) {
|
||||
failed = true;
|
||||
hb_buffer_set_length (buffer, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user