use prefix "InterVariable-" in fvar table instead of "Inter" to avoid any collision with static fonts on systems which may use ps style names as keys in a global namespace
This commit is contained in:
parent
7dbb0365c4
commit
eb40739b9e
1 changed files with 1 additions and 2 deletions
|
|
@ -20,8 +20,7 @@ def fixup_names(instance_or_source):
|
|||
def fixup_instance(designspace, instance):
|
||||
fixup_names(instance)
|
||||
|
||||
psFamilyName = 'Inter'
|
||||
instance.postScriptFontName = psFamilyName + remove_whitespace(instance.styleName)
|
||||
instance.postScriptFontName = 'InterVariable-' + remove_whitespace(instance.styleName)
|
||||
instance.styleMapFamilyName = instance.styleMapFamilyName.replace(' Display', '')
|
||||
|
||||
# remove WWSFamilyName and WWSSubfamilyName properties
|
||||
|
|
|
|||
Reference in a new issue