Sfoglia il codice sorgente

font for previews is now included

master
whut 2 anni fa
parent
commit
1287b93ef4
2 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. BIN
      LiberationMono-Regular.ttf
  2. +1
    -1
      acid16.py

BIN
LiberationMono-Regular.ttf Vedi File


+ 1
- 1
acid16.py Vedi 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))


Loading…
Annulla
Salva