Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
barry 2025-01-10 23:39:21 +01:00
commit a18b138ea2
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)) 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))