Skip to content

Commit

Permalink
Improve output messages for fvar check
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Jun 23, 2022
1 parent 452ac40 commit 2abc76c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/fontbakery/profiles/googlefonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3828,7 +3828,9 @@ def get_instances(ttFont):
yield FAIL, Message('bad-fvar-instances',
f"fvar instances are incorrect:\n{hints}\n{md_table}")
elif any(font_instances[i] != expected_instances[i] for i in same):
yield WARN, Message("bad-fvar-coords", f"fvar coordinates are different:\n\n{md_table}")
yield WARN, Message("suspicious-fvar-coords",
(f"fvar instance coordinates for non-wght axes are not the same as the fvar defaults. "
"This may be intentional so please check with the font author:\n\n{md_table}"))
else:
yield PASS, f"fvar instances are good:\n\n{md_table}"

Expand Down

0 comments on commit 2abc76c

Please sign in to comment.