font-patcher: Fix creation of Propo font with old naming

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-04-20 16:56:43 +02:00
parent b9a4b2ebbd
commit 5c3bfbc2e0

View file

@ -614,9 +614,7 @@ class font_patcher:
if len(subFamily) == 0:
subFamily = "Regular"
familyname += " " + projectNameSingular
if self.args.single:
familyname += " Mono"
familyname += " " + projectNameSingular + variant_full
# 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. Make sure to