update Adobe Fonts profile
override com.google.fonts/check/varfont/bold_wght_coord from FAIL to WARN for no-bold-instance condition
@@ -26,7 +26,7 @@ profile = profile_factory(default_section=Section("Adobe Fonts"))
SET_EXPLICIT_CHECKS = {
# This is the set of explict checks that will be invoked
# when fontbakery is run with the 'check-adobefonts' subcommand.
- # The contents of this set were last updated on August 21, 2022.
+ # The contents of this set were last updated on September 14, 2022.
#
# =======================================
# From adobefonts.py (this file)
@@ -66,7 +66,7 @@ SET_EXPLICIT_CHECKS = {
"com.adobe.fonts/check/varfont/valid_default_instance_nameids",
"com.adobe.fonts/check/varfont/valid_postscript_nameid",
"com.adobe.fonts/check/varfont/valid_subfamily_nameid",
- "com.google.fonts/check/varfont/bold_wght_coord",
+ "com.google.fonts/check/varfont/bold_wght_coord", # IS_OVERRIDDEN
"com.google.fonts/check/varfont/regular_ital_coord",
"com.google.fonts/check/varfont/regular_opsz_coord",
"com.google.fonts/check/varfont/regular_slnt_coord",
@@ -226,6 +226,7 @@ OVERRIDDEN_CHECKS = [
"com.google.fonts/check/name/trailing_spaces",
"com.google.fonts/check/os2_metrics_match_hhea",
"com.google.fonts/check/valid_glyphnames",
+ "com.google.fonts/check/varfont/bold_wght_coord",
"com.google.fonts/check/whitespace_glyphs",
]
@@ -511,6 +512,16 @@ profile.check_log_override(
)
+profile.check_log_override(
+ # From fvar.py
+ "com.google.fonts/check/varfont/bold_wght_coord",
+ overrides=(("no-bold-instance", WARN, KEEP_ORIGINAL_MESSAGE),),
+ reason=(
+ "Adobe doesn't require a 'Bold' named instance."
+ ),
+)
+
+
ADOBEFONTS_PROFILE_CHECKS = add_check_overrides(
ADOBEFONTS_PROFILE_CHECKS, profile.profile_tag, OVERRIDDEN_CHECKS
)
