From b8b56c4a6720b2f99e343cd05b8e5665f555aeb4 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 7 Mar 2025 14:30:23 +0200 Subject: [PATCH] [directwrite] Add comment [ci skip] --- src/hb-directwrite.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 4b4e77b4b..f138bd4f3 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -638,6 +638,9 @@ _hb_directwrite_shape (hb_shape_plan_t *shape_plan, hb_vector_t range_features; hb_vector_t range_char_counts; + // https://github.com/harfbuzz/harfbuzz/pull/5114 + // The data allocated by these two vectors are used by the above two, so they + // should remain alive as long as the above two are. hb_vector_t feature_records; hb_vector_t range_records; if (num_features)