Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
a18b138ea2
BIN
Font/GothamBold.ttf
Normal file
BIN
Font/GothamBold.ttf
Normal file
Binary file not shown.
BIN
Font/GothamBoldItalic.ttf
Normal file
BIN
Font/GothamBoldItalic.ttf
Normal file
Binary file not shown.
BIN
Font/GothamBook.ttf
Normal file
BIN
Font/GothamBook.ttf
Normal file
Binary file not shown.
BIN
Font/GothamBookItalic.ttf
Normal file
BIN
Font/GothamBookItalic.ttf
Normal file
Binary file not shown.
BIN
Font/GothamLight.ttf
Normal file
BIN
Font/GothamLight.ttf
Normal file
Binary file not shown.
BIN
Font/GothamLightItalic.ttf
Normal file
BIN
Font/GothamLightItalic.ttf
Normal file
Binary file not shown.
BIN
Font/GothamMedium.ttf
Normal file
BIN
Font/GothamMedium.ttf
Normal file
Binary file not shown.
BIN
Font/GothamMediumItalic.ttf
Normal file
BIN
Font/GothamMediumItalic.ttf
Normal file
Binary file not shown.
BIN
Font/GothamMedium_1.ttf
Normal file
BIN
Font/GothamMedium_1.ttf
Normal file
Binary file not shown.
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user