From 7b44a94a5592a651598fb83d289e0fedbba31b90 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 2 Feb 2025 17:33:46 +0000 Subject: [PATCH] [aat] Shrink cache to 256 bytes per subtable --- src/hb-aat-layout-common.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index b4ad51b38..9f4495d95 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -44,7 +44,8 @@ using namespace OT; struct ankr; -using hb_aat_class_cache_t = hb_cache_t<16, 8, 8>; +using hb_aat_class_cache_t = hb_cache_t<15, 8, 7>; +static_assert (sizeof (hb_aat_class_cache_t) == 256, ""); struct hb_aat_apply_context_t : hb_dispatch_context_t