[util] Improve --glyphs

This commit is contained in:
Behdad Esfahbod 2022-12-23 13:31:48 -07:00
parent d45f7265e9
commit 265b699fbd
1 changed files with 4 additions and 1 deletions

View File

@ -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;
} }