Merge pull request #130 from Jakob6174/master

Minor inconsistency in newly generated font names
This commit is contained in:
Kiliman
2020-03-09 17:07:53 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
build
node_modules
.idea
.vscode/launch.json
.DS_Store
+1 -1
View File
@@ -216,7 +216,7 @@ const patchNames = (dom, ligatures, profile) => {
setAttribute(cffFont, 'FamilyName', 'value', familyNamePlat);
// update existing names with new names
updateName(PlatformId.mac, NameId.familyName, familyName);
updateName(PlatformId.mac, NameId.familyName, familyNamePlat);
updateName(PlatformId.mac, NameId.fontStyle, names.fontStyle);
updateName(PlatformId.mac, NameId.uniqueId, uniqueId);
updateName(PlatformId.mac, NameId.fullName, fullName);