Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
a18b138ea2
10 files changed
+7
-3
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user