font for previews is now included

This commit is contained in:
whut 2021-09-14 13:06:46 -05:00
parent 75ce2daab1
commit 1287b93ef4
2 changed files with 1 additions and 1 deletions

BIN
LiberationMono-Regular.ttf Normal file

Binary file not shown.

View File

@ -117,7 +117,7 @@ for i in range(len(cols)):
print("base{:02X}: \"{}\"".format(i, toHex(cols[i])))
if options.showPreview:
font = ImageFont.truetype("/usr/share/fonts/TTF/LiberationMono-Regular.ttf", 20)
font = ImageFont.truetype("LiberationMono-Regular.ttf", 20)
h, w = imSize = (640, 640)
im = Image.new("RGB", (640, 640), usable(background))