[util] Fix vertical positioning with --glyphs
This commit is contained in:
parent
265b699fbd
commit
0066e824f0
|
@ -71,6 +71,10 @@ struct shape_options_t
|
||||||
|
|
||||||
if (glyphs)
|
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,
|
hb_buffer_deserialize_glyphs (buffer,
|
||||||
text, text_len,
|
text, text_len,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
|
Loading…
Reference in New Issue