adafruit / Adafruit_CircuitPython_EPD

e paper driver for circuit python
MIT License
40 stars 19 forks source link

fix candidate for an issue of that a font size argument is not passed to the framebuf layer #50

Closed lyusupov closed 3 years ago

lyusupov commented 3 years ago

The font size argument is applicable for text method. However it does not work (for me) because the epd.py does not currently transfer the size argument onto the framebuf display layer for further processing.

UPDATE: This PR does actually duplicate https://github.com/adafruit/Adafruit_CircuitPython_EPD/pull/42 request.

'size' argument is a 'scale' relative to default '1' value. Thus: size=1 - use default (built-in) font size size=2 - 2x of default size size=3 - 3x of default size ....