From 24eb3f719774d8c330f46747d7a850c5362cc74f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 30 Jan 2025 13:52:03 +0000 Subject: [PATCH] [otData] Fix DeltaValue repeat value The "" marker is used when a custom converter expects a list. For DeltaValues, we expect a list as a single value, not a list to be enumerated in XML. So, None is appropriate here. Cryptic, I know... Fixes https://github.com/fonttools/fonttools/pull/3757 --- Lib/fontTools/ttLib/tables/otData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/fontTools/ttLib/tables/otData.py b/Lib/fontTools/ttLib/tables/otData.py index 3a01f5934..f538aeb48 100644 --- a/Lib/fontTools/ttLib/tables/otData.py +++ b/Lib/fontTools/ttLib/tables/otData.py @@ -385,7 +385,7 @@ otData = [ ( "DeltaValue", "DeltaValue", - "", + None, "DeltaFormat in (1,2,3)", "Array of compressed data", ),