From 8ff4cfbcaea32bb24d7e39f258c6288d069f02ea Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 19 Jan 2025 16:55:25 -0700 Subject: [PATCH] [hvgl] Fix null size of Part --- src/hb-aat-var-hvgl-table.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-aat-var-hvgl-table.hh b/src/hb-aat-var-hvgl-table.hh index 6317214c9..156476c69 100644 --- a/src/hb-aat-var-hvgl-table.hh +++ b/src/hb-aat-var-hvgl-table.hh @@ -392,7 +392,8 @@ struct Part PartComposite composite; } u; public: - DEFINE_SIZE_MIN (2); + // A null flags will imply PartShape. So, our null size is the size of PartShape::min_size. + DEFINE_SIZE_MIN (PartShape::min_size); }; struct Index