Skip to content

Commit

Permalink
Changes the name of the variable font to "Inter Variable" in order to…
Browse files Browse the repository at this point in the history
… allow the variable version to be installed in parallel with the constant font files
  • Loading branch information
rsms committed Mar 12, 2019
1 parent 9d48272 commit 36084ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions misc/fontbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 36084ac

Please sign in to comment.