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