瀏覽代碼

font for previews is now included

master
whut 2 年之前
父節點
當前提交
1287b93ef4
共有 2 個檔案被更改,包括 1 行新增1 行删除
  1. 二進制
      LiberationMono-Regular.ttf
  2. +1
    -1
      acid16.py

二進制
LiberationMono-Regular.ttf 查看文件


+ 1
- 1
acid16.py 查看文件

@@ -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))


Loading…
取消
儲存