fontgen: generate font .c files in build dir

This commit is contained in:
Yehoshua Pesach Wallach
2022-04-20 21:38:42 +03:00
committed by JF
parent e39f183efe
commit ef17f2f981
2 changed files with 9 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ import subprocess
class Source(object):
def __init__(self, d):
self.file = d['file']
if not os.path.exists(self.file):
self.file = os.path.join(os.path.dirname(sys.argv[0]), self.file)
self.range = d.get('range')
self.symbols = d.get('symbols')