tooling: upgrade libs, rename VF fext otf -> ttf, add STAT table patch
- upgrades 3rd party libraries used by the toolchain - upgrades fontbuild code to adjust changes to library APIs - renames VF font filename extensions to .ttf - adds better STAT table patch to improve metadata on Windows
This commit is contained in:
parent
cb3d2853b9
commit
d76268cf8d
10 changed files with 114 additions and 164 deletions
|
|
@ -19,11 +19,8 @@ def updateFontVersion(font, dummy, isVF):
|
|||
buildtag = "src"
|
||||
print("warning: getGitHash() failed: %r" % buildtagErrs, file=sys.stderr)
|
||||
versionMajor, versionMinor = [int(num) for num in version.split(".")]
|
||||
font.info.version = version
|
||||
font.info.versionMajor = versionMajor
|
||||
font.info.versionMinor = versionMinor
|
||||
font.info.woffMajorVersion = versionMajor
|
||||
font.info.woffMinorVersion = versionMinor
|
||||
font.info.year = now.year
|
||||
font.info.openTypeNameVersion = "Version %d.%03d;git-%s" % (versionMajor, versionMinor, buildtag)
|
||||
psFamily = re.sub(r'\s', '', font.info.familyName)
|
||||
|
|
|
|||
Reference in a new issue