mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-31 12:27:22 +02:00
Merge branch 'consolidate-styles' of https://github.com/jrolfs/nerd-fonts into jrolfs-consolidate-styles
Conflicts: font-patcher
This commit is contained in:
commit
971e1101d7
@ -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