From 85c45547b7fe3c473d32a0e715dbedefd4c14d6c Mon Sep 17 00:00:00 2001 From: "Shiyu (Andrew) He" Date: Sat, 9 Sep 2017 15:21:13 -0700 Subject: [PATCH] Version 1.5.3 update Fixer.fixName(): We must complete Win names itself first! --- Package/otRebuilder/Lib/Fixer.py | 2 ++ Package/otRebuilder/otrebuild.py | 2 +- Package/otrebuilder.egg-info/PKG-INFO | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Package/otRebuilder/Lib/Fixer.py b/Package/otRebuilder/Lib/Fixer.py index 5fe4313..da4ef93 100644 --- a/Package/otRebuilder/Lib/Fixer.py +++ b/Package/otRebuilder/Lib/Fixer.py @@ -171,6 +171,8 @@ def fixName(self): # The following order must be Win->Mac then Mac->Win! # Convert Win names into Mac for namRec in winNamRecs: + # Add complete Win names (winBMP, winSym, winFul) + builder.addWinNameEx(namRec.string, namRec.nameID, namRec.langID) if namRec.nameID in [16, 17]: continue # Macintosh platform doesn't need preferred family/subfamily. tmpMacRec = Workers.NameWorker.winName2Mac(namRec) diff --git a/Package/otRebuilder/otrebuild.py b/Package/otRebuilder/otrebuild.py index e6badc4..f3a6143 100644 --- a/Package/otRebuilder/otrebuild.py +++ b/Package/otRebuilder/otrebuild.py @@ -24,7 +24,7 @@ usageStr = "usage: otrebuild [options] " -descriptionStr = """ OpenType Font Rebuilder: Version 1.5.2, powered by fontTools +descriptionStr = """ OpenType Font Rebuilder: Version 1.5.3, powered by fontTools This is a simple tool to resolve naming, styling and mapping issues among OpenType fonts. Without any options given, it can scan and diff --git a/Package/otrebuilder.egg-info/PKG-INFO b/Package/otrebuilder.egg-info/PKG-INFO index 9156797..104dad2 100644 --- a/Package/otrebuilder.egg-info/PKG-INFO +++ b/Package/otrebuilder.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: otrebuilder -Version: 1.5.2 +Version: 1.5.3 Summary: A simple tool to resolve OpenType fonts' mapping and naming issues, powered by fontTools. Home-page: https://github.com/Pal3love/otRebuilder Author: Pal3love diff --git a/setup.py b/setup.py index 960114e..2c95aee 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name = "otrebuilder", - version = "1.5.2", + version = "1.5.3", description = "A simple tool to resolve OpenType fonts' mapping and naming issues, powered by fontTools.", author = "Pal3love", author_email = "pal3love@gmail.com",