[util] Improve --glyphs
This commit is contained in:
parent
d45f7265e9
commit
265b699fbd
|
@ -77,6 +77,9 @@ struct shape_consumer_t : shape_options_t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (glyphs)
|
||||||
|
output.consume_glyphs (buffer, nullptr, 0, false);
|
||||||
|
else
|
||||||
output.consume_glyphs (buffer, text, text_len, utf8_clusters);
|
output.consume_glyphs (buffer, text, text_len, utf8_clusters);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue