-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: porting to MicroPython #2394
Comments
My knowledge on MicroPython is close to zero... |
I just saw issue 829, my apologies. Python it might be possible to interface with objects in C so I'll see if I can give that a try |
I'm currently working on a script+repo that takes .bdf font files (from the u8g2 tools/font tree) and runs https://github.com/peterhinch/micropython-font-to-py/blob/master/FONT_TO_PY.md on them. It's currently getting some finishing touches and I'll publish asap. |
Okidoki; microPython has a built-in framebuffer, but only provides a 8x8 font for use in it. Tools exist for other font choices but are a bit, err, fanatic and over complex. There is clearly a need for a simple to use mono font collection for all the OLED and other devices out there, but none appeared in search. I guess I hadn't realised how lucky we are having U8G2 in C/Arduino land.. End result: to begin is a repo with my conversion script here: https://github.com/easytarget/microPyEZfonts EDIT: I have now implemented a mechanism to preserve the copyright and comment fields from the source font file, and add a boilerplate with source details and crediting U8G2 etc.
I also want to write my own 'printStr' class for this by butchering Peter Hinches Writer class. It's waaay to complex for my needs, with seperate cursor positioning, word wrap, scroll, etc. Wonderful for some use-cases but massively overblown for simple status displays. Check my repo for them; any issues please raise them in my repo too. |
A quick note that I've finished my work on https://github.com/easytarget/microPyEZfonts and released/published it. It's a pretty simple thing, designed for simple displays and use cases. But properly documented with examples etc. I also note some more advanced alternatives there, plus link to general MicroPython display/utility/gui sites, it should make a good starting point for others who come here looking for a MicroPython u8g2 alternative. |
thanks for adding the MicroPython information here :-) |
I was wondering if there may be much interest in porting this library to MicroPython? I have some MCU's running MP that I would love to use this library with to drive a GU128x64 VFD. I think it would be really awesome and really take MP to the next level driving displays <3
The text was updated successfully, but these errors were encountered: