Przeglądaj źródła

font for previews is now included

master
whut 2 lat temu
rodzic
commit
1287b93ef4
2 zmienionych plików z 1 dodań i 1 usunięć
  1. BIN
      LiberationMono-Regular.ttf
  2. +1
    -1
      acid16.py

BIN
LiberationMono-Regular.ttf Wyświetl plik


+ 1
- 1
acid16.py Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz