From ec8084d87f273266c5d79d06c421b5167dd97f94 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 17 Sep 2022 23:19:11 +0300 Subject: HarfBuzz: Update to version 5.2.0, add new Unicode 15 blocks and scripts. --- thirdparty/harfbuzz/src/graph/gsubgpos-context.hh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'thirdparty/harfbuzz/src/graph/gsubgpos-context.hh') diff --git a/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh b/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh index 49b24198ff..9fe9662e64 100644 --- a/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh +++ b/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh @@ -40,22 +40,16 @@ struct gsubgpos_graph_context_t graph_t& graph; unsigned lookup_list_index; hb_hashmap_t lookups; - hb_vector_t buffers; + HB_INTERNAL gsubgpos_graph_context_t (hb_tag_t table_tag_, graph_t& graph_); - ~gsubgpos_graph_context_t () - { - for (char* b : buffers) - hb_free (b); - } - HB_INTERNAL unsigned create_node (unsigned size); void add_buffer (char* buffer) { - buffers.push (buffer); + graph.add_buffer (buffer); } private: -- cgit v1.2.3