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

Merge pull request #178 from kballard/mono_font_name

Change the font family name for mono fonts
This commit is contained in:
Ryan L McIntyre 2017-07-24 16:47:27 -04:00 committed by GitHub
commit 0b59fade46

View File

@ -172,6 +172,8 @@ if args.windows:
familyname = familyname[:maxFamilyLength]
else:
familyname += " " + projectNameSingular
if args.single:
familyname += " Mono"
# Don't truncate the subfamily to keep fontname unique. MacOS treats fonts with
# the same name as the same font, even if subFamily is different.