mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-03-03 14:36:18 +02:00
Merge branch 'jrolfs-consolidate-styles' into 0.7.0
This commit is contained in:
commit
73dc2aaf98
@ -100,7 +100,7 @@ fontname, fallbackStyle = re.match("^([^-]*).*?([^-]*(?!.*-))$", sourceFont.font
|
||||
familyname = fontname
|
||||
# fullname (filename) can always use long/verbose font name, even in windows
|
||||
fullname = sourceFont.fullname + verboseAdditionalFontNameSuffix
|
||||
fontname = fontname + additionalFontNameSuffix.replace(" ", "")
|
||||
fontname = fontname + additionalFontNameSuffix.replace(" ", "") + "-" + style
|
||||
|
||||
# let us try to get the 'style' from the font info in sfnt_names and fallback to the
|
||||
# parse fontname if it fails:
|
||||
|
Loading…
x
Reference in New Issue
Block a user