diff --git a/Font/GothamBold.ttf b/Font/GothamBold.ttf new file mode 100644 index 0000000..8759d2b Binary files /dev/null and b/Font/GothamBold.ttf differ diff --git a/Font/GothamBoldItalic.ttf b/Font/GothamBoldItalic.ttf new file mode 100644 index 0000000..a9f2b11 Binary files /dev/null and b/Font/GothamBoldItalic.ttf differ diff --git a/Font/GothamBook.ttf b/Font/GothamBook.ttf new file mode 100644 index 0000000..6cdde85 Binary files /dev/null and b/Font/GothamBook.ttf differ diff --git a/Font/GothamBookItalic.ttf b/Font/GothamBookItalic.ttf new file mode 100644 index 0000000..c711011 Binary files /dev/null and b/Font/GothamBookItalic.ttf differ diff --git a/Font/GothamLight.ttf b/Font/GothamLight.ttf new file mode 100644 index 0000000..6f6bfc5 Binary files /dev/null and b/Font/GothamLight.ttf differ diff --git a/Font/GothamLightItalic.ttf b/Font/GothamLightItalic.ttf new file mode 100644 index 0000000..4a133fc Binary files /dev/null and b/Font/GothamLightItalic.ttf differ diff --git a/Font/GothamMedium.ttf b/Font/GothamMedium.ttf new file mode 100644 index 0000000..793dce5 Binary files /dev/null and b/Font/GothamMedium.ttf differ diff --git a/Font/GothamMediumItalic.ttf b/Font/GothamMediumItalic.ttf new file mode 100644 index 0000000..879e4fb Binary files /dev/null and b/Font/GothamMediumItalic.ttf differ diff --git a/Font/GothamMedium_1.ttf b/Font/GothamMedium_1.ttf new file mode 100644 index 0000000..793dce5 Binary files /dev/null and b/Font/GothamMedium_1.ttf differ diff --git a/spotiplayer_pi/main.py b/spotiplayer_pi/main.py index bd71c2a..ef7b395 100644 --- a/spotiplayer_pi/main.py +++ b/spotiplayer_pi/main.py @@ -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))