This commit is contained in:
Alessandro 2025-01-10 23:37:57 +01:00
parent d892f6ba04
commit ae9da205a3
10 changed files with 7 additions and 3 deletions

BIN
Font/GothamBold.ttf Normal file

Binary file not shown.

BIN
Font/GothamBoldItalic.ttf Normal file

Binary file not shown.

BIN
Font/GothamBook.ttf Normal file

Binary file not shown.

BIN
Font/GothamBookItalic.ttf Normal file

Binary file not shown.

BIN
Font/GothamLight.ttf Normal file

Binary file not shown.

BIN
Font/GothamLightItalic.ttf Normal file

Binary file not shown.

BIN
Font/GothamMedium.ttf Normal file

Binary file not shown.

BIN
Font/GothamMediumItalic.ttf Normal file

Binary file not shown.

BIN
Font/GothamMedium_1.ttf Normal file

Binary file not shown.

View File

@ -28,9 +28,13 @@ def display_loop(api: Api, cfg: Dict):
bg = Image.new("RGB", (d.height, d.width), (0, 0, 0))
d.ShowImage(bg)
Font0 = ImageFont.truetype("Font/Font00.ttf", 14)
Font1 = ImageFont.truetype("Font/Font00.ttf", 18)
Font2 = ImageFont.truetype("Font/Font00.ttf", 36)
#Font0 = ImageFont.truetype("Font/Font00.ttf", 14)
#Font1 = ImageFont.truetype("Font/Font00.ttf", 18)
#Font2 = ImageFont.truetype("Font/Font00.ttf", 36)
Font0 = ImageFont.truetype("Font/GothamLight.ttf", 14)
Font1 = ImageFont.truetype("Font/GothamLight.ttf", 18)
Font2 = ImageFont.truetype("Font/GothamLight.ttf", 36)
unavailable_img = Image.open("imgs/unavailable.jpg")
error_img = Image.new("RGB", (240, 320), color=(255, 0, 0))