Skip to content

Commit

Permalink
update contour count rules
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
felipesanches committed Dec 12, 2023
1 parent 52514c4 commit e5764f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
4 changes: 2 additions & 2 deletions Lib/fontbakery/glyphdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]},
Expand Down Expand Up @@ -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]},
Expand Down

0 comments on commit e5764f6

Please sign in to comment.