fontbuild: fixes issue with incorrect metadata for the Bold Italic master UFO

This commit is contained in:
Rasmus Andersson 2018-09-27 10:08:44 -07:00
parent 5bc7754354
commit 0400372ecb

View file

@ -479,7 +479,7 @@ class Main(object):
ufo_path = pjoin(master_dir, 'Inter-UI-BlackItalic.ufo')
source.styleName = "Black Italic"
source.name = "blackitalic"
source.font.info.styleName = source.font.info.styleName
source.font.info.styleName = source.styleName
else:
# name "Inter UI Black" => "black"
source.name = source.styleName.lower().replace(' ', '')