1
0
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:
Ryan L McIntyre 2019-07-05 12:32:06 -07:00
parent e3710e3875
commit f49b92cb6c

View File

@ -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',