← index #4963Issue #7384
Off-topic · high · value 1.608
QUERY · ISSUE

framebuf module : Add support for rotation

openby iommuopened 2019-07-31updated 2025-10-03
enhancement

Add support for setting the rotation a frame buffer in the micropython framebuf module.

Currently the orientation of a display is limited by it's physical rotation. The best method I found to rotate a display is to use the adafruit circuitpython framebuf implementation instead of the native micropython one as it does allow for setting rotation.

CANDIDATE · ISSUE

framebuf: Support drawing text at different sizes

openby jonathanhoggopened 2021-06-12updated 2026-03-24
extmod

I'm increasingly making little widgets with MicroPython that use small OLED displays to present information to the user. The text support in FrameBuffer() is great, but it's limited to the built-in 8-pixel-square font. Being able to display text at different sizes makes a massive usability difference.

I've already written a patch that does simple arbitrary scaling of the built-in font and raised PR #6263. I've been using this in production devices for a year now, but supporting a bunch of patches is becoming a bore and I hate not being able to use the official releases so I'd like to get this PR mainlined as-is or some feedback on what I could change to get it accepted.

Thought that perhaps opening an issue might raise the visibility of this.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied