Skip to content

Commit

Permalink
add rationale for font_names
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Jun 23, 2022
1 parent 2abc76c commit 77e8e4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Lib/fontbakery/profiles/googlefonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,15 @@

@check(
id = 'com.google.fonts/check/font_names',
rationale = """""",
conditions = ['expected_font_names']
conditions = ['expected_font_names'],
rationale = """
Google Fonts has several rules which need to be adhered to when
setting a font's name table. Please read:
https://googlefonts.github.io/gf-guide/statics.html#supported-styles
https://googlefonts.github.io/gf-guide/statics.html#style-linking
https://googlefonts.github.io/gf-guide/statics.html#unsupported-styles
https://googlefonts.github.io/gf-guide/statics.html#single-weight-families
"""
)
def com_google_fonts_check_font_names(ttFont, expected_font_names):
"""Check font names are correct"""
Expand Down

0 comments on commit 77e8e4f

Please sign in to comment.