Skip to content

Commit

Permalink
Simplify versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
adam7 authored Oct 27, 2019
1 parent 12b1df9 commit 15f5357
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rename-font
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ delugia.appendSFNTName("English (US)", "Trademark", "")
delugia["grave"].glyphclass="baseglyph"

# Mix our version information in
if (args.version):
enriched_version = "{}/{}".format(delugia.version, args.version)
delugia.appendSFNTName("English (US)", "Version", enriched_version)
delugia.version = enriched_version
print("Set new font version {}".format(delugia.version));
delugia.appendSFNTName("English (US)", "Version", args.version)
delugia.version = args.version

# Save
delugia.generate(args.output)

0 comments on commit 15f5357

Please sign in to comment.