From d0c3515ce423f689123f96111b105e7e4141a6b9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 3 Jan 2022 11:26:41 -0700 Subject: [PATCH] [util] Copy unicode_funcs in copy_buffer_properties() Part of https://github.com/harfbuzz/harfbuzz/issues/1555 --- util/shape-options.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/shape-options.hh b/util/shape-options.hh index e6e709239..58a50d8d1 100644 --- a/util/shape-options.hh +++ b/util/shape-options.hh @@ -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)); }