From d1826ca6264ecf10ff9ecb508d2ee071e0e13e01 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 2 Mar 2025 15:45:35 -0700 Subject: [PATCH] [TupleValues] Fix regression Introduced in 043980a60eb2fe93dd65b8c2f5eaa021fd8653f2 --- src/hb-open-type.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index a6abd311a..f2040ea5c 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -1943,6 +1943,11 @@ struct TupleValues unsigned count = hb_min (n - i, (unsigned) run_count); switch (width) { + case 0: + { + arrayZ += count; + break; + } case 1: { const auto *pp = (const HBINT8 *) p;