diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-01-16 20:34:43 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-01-16 20:34:43 +0300 |
commit | 7636ef712ecd48971e70beac9a76a05232872972 (patch) | |
tree | 31fb2b5129a47704cb1f9a9d553a077ac5c5d9f8 /misc/pylib/fontbuild | |
parent | 1b5054a259c8e134268fe11ecfeaf612cc770720 (diff) | |
download | inter-7636ef712ecd48971e70beac9a76a05232872972.tar.xz |
Change composition of version record of the name table to include build (when available)
Diffstat (limited to 'misc/pylib/fontbuild')
-rw-r--r-- | misc/pylib/fontbuild/instanceNames.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/pylib/fontbuild/instanceNames.py b/misc/pylib/fontbuild/instanceNames.py index 239af3f78..0ee59f55a 100644 --- a/misc/pylib/fontbuild/instanceNames.py +++ b/misc/pylib/fontbuild/instanceNames.py @@ -73,11 +73,12 @@ class InstanceNames: f.info.openTypeNameManufacturerURL = self.foundryURL f.info.openTypeNameLicense = self.license f.info.openTypeNameLicenseURL = self.licenseURL - f.info.openTypeNameVersion = "Version %i.%i" %(version, versionMinor) if self.build is not None and len(self.build): - f.info.openTypeNameUniqueID = "%s:%s:%s" %(self.fullname, self.build, self.year) + f.info.openTypeNameVersion = "%i.%i;%s" %(version, versionMinor, self.build) + f.info.openTypeNameUniqueID = "%s:%s:%s" %(self.fullname, self.year, self.build) else: + f.info.openTypeNameVersion = "%i.%i" %(version, versionMinor) f.info.openTypeNameUniqueID = "%s:%s" %(self.fullname, self.year) # f.info.openTypeNameDescription = "" |