mirror of
https://github.com/rsms/inter.git
synced 2024-11-17 07:47:33 +01:00
Change composition of version record of the name table to include build (when available)
This commit is contained in:
parent
1b5054a259
commit
7636ef712e
1 changed files with 3 additions and 2 deletions
|
@ -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 = ""
|
||||
|
|
Loading…
Reference in a new issue