mirror of
https://github.com/rsms/inter.git
synced 2024-09-11 10:55:24 +03:00
make sure fvar ps name for InterVariableItalic is not identical to ID 25. Re #577
This commit is contained in:
parent
7429e38d2e
commit
582467fa8d
@ -27,7 +27,10 @@ def fixup_instance(designspace, instance):
|
||||
isItalic = "Italic" in instance.styleName
|
||||
psStyle = remove_whitespace(instance.styleName)
|
||||
if isItalic:
|
||||
instance.postScriptFontName = 'InterVariableItalic-' + psStyle.replace('Italic','')
|
||||
psStyle = psStyle.replace('Italic','')
|
||||
if psStyle == '':
|
||||
psStyle = 'Regular'
|
||||
instance.postScriptFontName = 'InterVariableItalic-' + psStyle
|
||||
else:
|
||||
instance.postScriptFontName = 'InterVariable-' + psStyle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user