From a2a3ebff13197bef1f5840cab0b5833b27038231 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 3 Feb 2019 19:45:20 -0800 Subject: fontbuild: append " BETA" to style name of light weights --- misc/fontbuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'misc/fontbuild') diff --git a/misc/fontbuild b/misc/fontbuild index cf2046c24..ac3b3322d 100755 --- a/misc/fontbuild +++ b/misc/fontbuild @@ -206,7 +206,11 @@ def setFontInfo(font, weight): # ufo3/fontinfo.plist.md # For OpenType NAME table IDs, see # https://docs.microsoft.com/en-us/typography/opentype/spec/name#name-ids - # + + # 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" -- cgit v1.2.3