mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-25 03:32:02 +02:00
Resolves conflicts
This commit is contained in:
parent
e3710e3875
commit
f49b92cb6c
17
font-patcher
17
font-patcher
@ -306,22 +306,7 @@ class font_patcher:
|
||||
fontname += '-' + subFamily
|
||||
|
||||
# rename font
|
||||
|
||||
def replace_all(text, dic):
|
||||
for i, j in dic.items():
|
||||
text = text.replace(i, j)
|
||||
return text
|
||||
|
||||
|
||||
def make_sure_path_exists(path):
|
||||
try:
|
||||
os.makedirs(path)
|
||||
except OSError as exception:
|
||||
if exception.errno != errno.EEXIST:
|
||||
raise
|
||||
|
||||
make_sure_path_exists(args.outputdir)
|
||||
|
||||
#
|
||||
# comply with SIL Open Font License (OFL)
|
||||
reservedFontNameReplacements = {
|
||||
'source' : 'sauce',
|
||||
|
Loading…
x
Reference in New Issue
Block a user