From 15f5357863c8dd764ee2ff4e48b77350162f643f Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Sun, 27 Oct 2019 18:42:43 +0100 Subject: [PATCH] Simplify versioning --- rename-font | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rename-font b/rename-font index 876900b..fbf6279 100644 --- a/rename-font +++ b/rename-font @@ -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)