From e5764f66b13f8ba4735b9d5c4f10509a0634371c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Tue, 12 Dec 2023 06:47:56 +0000 Subject: [PATCH] update contour count rules - U+0025 PERCENT SIGN can also have 4 contours. - U+2031 PER TEN THOUSAND SIGN can also have 8 contours. com.google.fonts/check/contour_count on the Universal profile. (issue #4365) --- CHANGELOG.md | 9 ++++++--- Lib/fontbakery/glyphdata.py | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6df306aa08..3dddb08f03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,17 @@ Below are the most important changes from each release. A more detailed list of changes is available in the corresponding milestones for each release in the Github issue tracker (https://github.com/googlefonts/fontbakery/milestones?state=closed). -## Upcoming release: 0.10.7 (2023-Dec-??) +## Upcoming release: 0.10.8 (2023-Dec-??) + - ... + + +## 0.10.7 (2023-Dec-12) ### Changes to existing checks #### On the Google Fonts Profile - **[com.google.fonts/check/name/family_and_style_max_length]:** This test has been extensively reworked, thanks to feedback from @vv-monsale, @moontypespace and @RosaWagner (issue #4316, issue #4104) -### Changes to existing checks - #### On the Universal Profile + - **[com.google.fonts/check/contour_count]:** U+0025 PERCENT SIGN and U+2031 PER TEN THOUSAND SIGN can also have 4 and 8 contours, respectively (issue #4365) - **[com.google.fonts/check/interpolation_issues]:** Fix crash when using fonttools>=4.46.0, crash when only ignored issues were found, and missing location formatting for contour order issues. (issue #4356) diff --git a/Lib/fontbakery/glyphdata.py b/Lib/fontbakery/glyphdata.py index d62d6e3d15..eb3990142a 100644 --- a/Lib/fontbakery/glyphdata.py +++ b/Lib/fontbakery/glyphdata.py @@ -1160,7 +1160,7 @@ {"name": "uni26AF", "unicode": 9903, "contours": [3]}, {"name": "nine", "unicode": 57, "contours": [1, 2]}, {"name": "Gdotaccent", "unicode": 288, "contours": [2]}, - {"name": "uni2031", "unicode": 8241, "contours": [9]}, + {"name": "uni2031", "unicode": 8241, "contours": [8, 9]}, {"name": "trademark", "unicode": 8482, "contours": [2]}, {"name": "colon", "unicode": 58, "contours": [2]}, {"name": "uni2124", "unicode": 8484, "contours": [2]}, @@ -1584,7 +1584,7 @@ {"name": "uni0E3A", "unicode": 3642, "contours": [1]}, {"name": "cedilla", "unicode": 184, "contours": [1]}, {"name": "uni0E47", "unicode": 3655, "contours": [1, 2]}, - {"name": "percent", "unicode": 37, "contours": [5]}, + {"name": "percent", "unicode": 37, "contours": [4, 5]}, {"name": "ordmasculine", "unicode": 186, "contours": [2, 3]}, {"name": "uni0900", "unicode": 2304, "contours": [2]}, {"name": "uniA901", "unicode": 43265, "contours": [2]},