Fix font size in Waveshare3 to increase face size

As suggested from https://old.reddit.com/r/pwnagotchi/comments/u4q18m/how_to_fix_the_small_face_issue_with_waveshare_v3/ by /u/You_Can_Crime

Co-authored-by: voidlily <voidlily@users.noreply.github.com>
This commit is contained in:
Axel Örn Sigurðsson
2022-07-06 10:01:56 +02:00
committed by GitHub
parent 91e95cede0
commit e878e05485

View File

@ -10,7 +10,7 @@ class WaveshareV3(DisplayImpl):
self._display = None self._display = None
def layout(self): def layout(self):
fonts.setup(10, 8, 10, 25, 25, 9) fonts.setup(10, 8, 10, 35, 25, 9)
self._layout['width'] = 250 self._layout['width'] = 250
self._layout['height'] = 122 self._layout['height'] = 122
self._layout['face'] = (0, 40) self._layout['face'] = (0, 40)