Update font-patcher

Fix "Subfmaily" typo
This commit is contained in:
duganchen 2020-11-30 21:00:54 -08:00 committed by GitHub
parent bfe4befabe
commit 0c372875ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,7 +294,7 @@ class font_patcher:
if subFamily == "Regular":
subFamily = fallbackStyle
# This is meant to cover the case where the SubFmaily is "Italic" and the filename is *-BoldItalic.
# This is meant to cover the case where the SubFamily is "Italic" and the filename is *-BoldItalic.
if len(subFamily) < len(fallbackStyle):
subFamily = fallbackStyle