font for previews is now included
This commit is contained in:
parent
75ce2daab1
commit
1287b93ef4
BIN
LiberationMono-Regular.ttf
Normal file
BIN
LiberationMono-Regular.ttf
Normal file
Binary file not shown.
@ -117,7 +117,7 @@ for i in range(len(cols)):
|
|||||||
print("base{:02X}: \"{}\"".format(i, toHex(cols[i])))
|
print("base{:02X}: \"{}\"".format(i, toHex(cols[i])))
|
||||||
|
|
||||||
if options.showPreview:
|
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)
|
h, w = imSize = (640, 640)
|
||||||
|
|
||||||
im = Image.new("RGB", (640, 640), usable(background))
|
im = Image.new("RGB", (640, 640), usable(background))
|
||||||
|
Loading…
Reference in New Issue
Block a user