Skip to content

Commit b297247

Browse files
committed
com_google_fonts_check_name_license_url: warn if license url is sil based
1 parent 238612c commit b297247

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/fontbakery/profiles/googlefonts.py

+6
Original file line numberDiff line numberDiff line change
@@ -1618,6 +1618,12 @@ def com_google_fonts_check_name_license_url(ttFont, familyname):
16181618
string = "https://".join(string.split("http://"))
16191619
if string == expected:
16201620
found_good_entry = True
1621+
elif "scripts.sil.org/OFL" in string:
1622+
yield WARN, Message(
1623+
"deprecated-ofl-url",
1624+
'OFL url is no longer "https://scripts.sil.org/OFL". '
1625+
"Use 'https://openfontlicense.org' instead."
1626+
)
16211627
else:
16221628
passed = False
16231629
yield FAIL, Message(

0 commit comments

Comments
 (0)