[util] Fix vertical positioning with --glyphs

pull/3972/head
Behdad Esfahbod 2 years ago
parent 265b699fbd
commit 0066e824f0
  1. 4
      util/shape-options.hh

@ -71,6 +71,10 @@ struct shape_options_t
if (glyphs)
{
/* Call the setup_buffer first while the buffer is empty,
* as guess_segment_properties doesn't like glyphs in the buffer. */
setup_buffer (buffer);
hb_buffer_deserialize_glyphs (buffer,
text, text_len,
nullptr,

Loading…
Cancel
Save