Drop BETA from light weights

This commit is contained in:
Rasmus Andersson 2020-02-08 14:59:33 -08:00
parent c1fb1e9560
commit 6d9f189f67
3 changed files with 12 additions and 20 deletions

View file

@ -73,10 +73,6 @@ def setFontInfo(font, weight=None):
if weight is None:
weight = font.info.openTypeOS2WeightClass
# Add " BETA" to light weights
if weight < 400:
font.info.styleName = font.info.styleName + " BETA"
family = font.info.familyName # i.e. "Inter"
style = font.info.styleName # e.g. "Medium Italic"