This commit is contained in:
Alessandro committed 2025-01-10 23:37:57 +01:00
1 parent d892f6ba04
commit ae9da205a3
10 files changed
+7 -3

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -3
View File
@@ -28,9 +28,13 @@ def display_loop(api: Api, cfg: Dict):
bg = Image.new("RGB", (d.height, d.width), (0, 0, 0)) bg = Image.new("RGB", (d.height, d.width), (0, 0, 0))
d.ShowImage(bg) d.ShowImage(bg)
Font0 = ImageFont.truetype("Font/Font00.ttf", 14) #Font0 = ImageFont.truetype("Font/Font00.ttf", 14)
Font1 = ImageFont.truetype("Font/Font00.ttf", 18) #Font1 = ImageFont.truetype("Font/Font00.ttf", 18)
Font2 = ImageFont.truetype("Font/Font00.ttf", 36) #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") unavailable_img = Image.open("imgs/unavailable.jpg")
error_img = Image.new("RGB", (240, 320), color=(255, 0, 0)) error_img = Image.new("RGB", (240, 320), color=(255, 0, 0))