From e6544148b590c2d846eee608b39501de6826a9a0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 Jan 2023 17:28:41 -0700 Subject: [PATCH] [hb-info] Enlarge name buffer --- util/hb-info.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/hb-info.cc b/util/hb-info.cc index d68dd93b2..2beb55ea5 100644 --- a/util/hb-info.cc +++ b/util/hb-info.cc @@ -224,7 +224,7 @@ struct info_t if (language_str) language = hb_language_from_string (language_str, -1); - char name[128]; + char name[16384]; unsigned name_len = sizeof name; hb_ot_name_get_utf8 (face, name_id, language, @@ -329,7 +329,7 @@ struct info_t const auto *entries = hb_ot_name_list_names (face, &count); for (unsigned i = 0; i < count; i++) { - char name[128]; + char name[16384]; unsigned name_len = sizeof name; hb_ot_name_get_utf8 (face, entries[i].name_id, language,