From 36084ac6fde6ae751677a5166cb9b462542b8dce Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Tue, 12 Mar 2019 11:21:32 -0700 Subject: Changes the name of the variable font to "Inter Variable" in order to allow the variable version to be installed in parallel with the constant font files --- misc/fontbuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc/fontbuild') diff --git a/misc/fontbuild b/misc/fontbuild index 02b5a0601..85fd7168f 100755 --- a/misc/fontbuild +++ b/misc/fontbuild @@ -162,6 +162,13 @@ class VarFontProject(FontProject): masters = [s.font for s in designspace.sources] for ufo in masters: + ufo.info.familyName = "Inter Variable" + ufo.info.styleMapFamilyName = "Inter Variable" + ufo.info.postscriptFontName = "InterVariable" + ufo.info.macintoshFONDName =\ + ufo.info.macintoshFONDName.replace('Inter', 'Inter Variable') + ufo.info.openTypeNamePreferredFamilyName =\ + ufo.info.openTypeNamePreferredFamilyName.replace('Inter', 'Inter Variable') updateFontVersion(ufo) isItalic = ufo.info.italicAngle != 0 ufoname = basename(ufo.path) -- cgit v1.2.3