From d322eb33a66fc1b1f62f83724d5e8f9620798936 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli <evilsocket@gmail.com> Date: Sat, 28 Sep 2019 19:54:58 +0200 Subject: [PATCH] fixed fonts --- sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/view.py b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/view.py index ee04ac5..8f1523b 100644 --- a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/view.py +++ b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/view.py @@ -25,11 +25,11 @@ class View(object): if config['ui']['display']['type'] in ('inky', 'inkyphat'): self._width = 212 self._height = 104 - fonts.setup(10, 9, 10, 35) + fonts.setup(10, 8, 10, 25) elif config['ui']['display']['type'] in ('ws', 'waveshare'): self._width = 250 self._height = 122 - fonts.setup(10, 8, 10, 25) + fonts.setup(10, 9, 10, 35) self._state = State(state={ 'channel': LabeledValue(color=BLACK, label='CH', value='00', position=(0, 0), label_font=fonts.Bold,