Font scaling on SSD1306 OLED displays #16382
Replies: 4 comments 4 replies
-
Thanks for sharing the code! This will help future travellers interested in a simple way of having fonts at different sizes, without including a large set of different fixed-height fonts. |
Beta Was this translation helpful? Give feedback.
-
Nice! |
Beta Was this translation helpful? Give feedback.
-
Thanks for that. Even with no scaling I can now read the display! |
Beta Was this translation helpful? Give feedback.
-
This is cool also take a look at: https://github.com/peterhinch/micropython-font-to-py between them you can find different sizes and fonts. |
Beta Was this translation helpful? Give feedback.
-
Here is a solution for scaling fonts I came up with....
I originally wrote this elsewhere but a user suggested that I should poste this here
NB: I am using ESP32-WROOM-32, 0.91" OLED 128x32
For convenience, one can also extend the imported class:
...and then use it slightly nicer way:
Beta Was this translation helpful? Give feedback.
All reactions