← index #16755Issue #7384
Off-topic · high · value 0.350
QUERY · ISSUE

Frame buffer antialiasing option

openby ajTronicopened 2025-02-14updated 2025-02-21
enhancement

Description

MicroPython has a built-in framebuf class. It supports drawing multiple primitives such as Ellipses. I noticed that none of these primitives have antialiasing. This results in jagged edges.

It would be extremely useful to have a way to enable antialiasing. Am I missing something? Or are most microcontrollers too slow for antialiasing?

Thank you.

Code Size

Not sure

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

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