fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

Deprecated METADATA.pb normal_style and italic_style checks #4585

Closed felipesanches closed 4 months ago

felipesanches commented 4 months ago

com.google.fonts/check/metadata/italic_style com.google.fonts/check/metadata/normal_style Removed from the Google Fonts profile

These two checks ensure that if the METADATA.pb style field is "normal" then the font is normal (macStyle bit 1 is 0, font filename doesn't end with "Italic") and if the field value is "italic" then the font is italic (macStyle bit 1 is 1, font filename ends with "Italic").

But so does com.google.fonts/check/metadata/canonical_style_names, so the redundant checks were deprecated.

(issue #4575)