[util] Copy unicode_funcs in copy_buffer_properties()

Part of https://github.com/harfbuzz/harfbuzz/issues/1555
This commit is contained in:
Behdad Esfahbod 2022-01-03 11:26:41 -07:00
parent 34f5b855aa
commit d0c3515ce4
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ struct shape_options_t
static void copy_buffer_properties (hb_buffer_t *dst, hb_buffer_t *src)
{
hb_buffer_set_unicode_funcs (dst, hb_buffer_get_unicode_funcs (src));
hb_buffer_set_flags (dst, hb_buffer_get_flags (src));
hb_buffer_set_cluster_level (dst, hb_buffer_get_cluster_level (src));
}