1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-25 20:18:01 +02:00

Simplifies font names with Powerline

- removes 'for Powerline' from patched fonts
This commit is contained in:
Ryan L McIntyre 2017-07-29 21:42:52 -04:00
parent ad2bd608c8
commit 715df80487

View File

@ -225,6 +225,9 @@ projectInfo = "Patched with '" + projectName + " Patcher' (https://github.com/ry
sourceFont.familyname = replace_all(familyname, reservedFontNameReplacements)
sourceFont.fullname = replace_all(fullname, reservedFontNameReplacements)
sourceFont.fontname = replace_all(fontname, reservedFontNameReplacements)
sourceFont.familyname = replace_all(familyname, additionalFontNameReplacements)
sourceFont.fullname = replace_all(fullname, additionalFontNameReplacements)
sourceFont.fontname = replace_all(fontname, additionalFontNameReplacements)
sourceFont.appendSFNTName(str('English (US)'), str('Preferred Family'), sourceFont.familyname)
sourceFont.appendSFNTName(str('English (US)'), str('Compatible Full'), sourceFont.fullname)
sourceFont.appendSFNTName(str('English (US)'), str('SubFamily'), subFamily)