Larger fonts on SSD1306 OLED displays
Posted: Tue Nov 15, 2016 9:41 am
The official driver supports a single 8x8 pixel monospaced font. This extends it to support larger fonts.
A Python3 utility to run on a PC enables arbitrary monospaced and variable pitch fonts in standard formats to be converted to Python source files. This SSD1306 driver enables them to be rendered to the device. Sample Python font files are included. https://github.com/peterhinch/micropyth ... er/SSD1306.
Aside from general use it is intended as a practical demonstrator for a suggested way of handling one bit per pixel fonts in MicroPython. The solution is intended to be device independent and to support the official framebuffer module. The proposal defines the file format, the utility for creating them and suggests device driver design guidelines for their use. Details are here https://github.com/peterhinch/micropyth ... -to-py.git (currently these docs are a work in progress).
A Python3 utility to run on a PC enables arbitrary monospaced and variable pitch fonts in standard formats to be converted to Python source files. This SSD1306 driver enables them to be rendered to the device. Sample Python font files are included. https://github.com/peterhinch/micropyth ... er/SSD1306.
Aside from general use it is intended as a practical demonstrator for a suggested way of handling one bit per pixel fonts in MicroPython. The solution is intended to be device independent and to support the official framebuffer module. The proposal defines the file format, the utility for creating them and suggests device driver design guidelines for their use. Details are here https://github.com/peterhinch/micropyth ... -to-py.git (currently these docs are a work in progress).