From 22e472a463bd2c9f59a1c1bca74d120734ef53f5 Mon Sep 17 00:00:00 2001 From: Bert Driehuis Date: Mon, 3 Nov 2025 22:07:23 +0100 Subject: [PATCH 1/2] Skip opentype/STAT/ital_axis for fonts without STAT table --- Lib/fontbakery/checks/opentype/STAT/ital_axis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/fontbakery/checks/opentype/STAT/ital_axis.py b/Lib/fontbakery/checks/opentype/STAT/ital_axis.py index 7e735a65a8..3e97da100f 100644 --- a/Lib/fontbakery/checks/opentype/STAT/ital_axis.py +++ b/Lib/fontbakery/checks/opentype/STAT/ital_axis.py @@ -22,7 +22,7 @@ def get_STAT_axis_value(ttFont, tag): def check_has_ital(font): if "STAT" not in font.ttFont: - yield FAIL, Message( + yield SKIP, Message( "no-stat", f"Font {font.file} has no STAT table", ) From cbdad1f0bf048ffc563b6fdc634388c9b122f28d Mon Sep 17 00:00:00 2001 From: Bert Driehuis Date: Mon, 3 Nov 2025 22:10:53 +0100 Subject: [PATCH 2/2] Add fix for #4998 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8de37e61e3..d364524525 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ A more detailed list of changes is available in the corresponding milestones for #### On the OpenType profile - **[opentype/monospace]**: Ensure check works with monospace OTF fonts (PR #5051) + - **[opentype/STAT/ital_axis]**: Skip check for fonts without STAT table (issue #4998) + ## 1.1.0 (2025-Oct-02) - Replace deprecated `pkg_resources` by `importlib.resources` (issue #5028)