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
load_glyphs() not working in v1.5.2 (worked in v1.5.1) #51
Comments
It looks to me like the code at line 142 is assuming that
tracing back up a bit in the library the file is coming ultimately from here:
I'm not super familiar with the lifecycle of things that use the |
I do think the issue is that the file is being closed before
|
I think you're right, the file |
We should probably switch this to a filename as well. |
Is there any work to be done here? or #52 solved the issue. Happy to help if needed :) |
As far as I know, this was fixed in 1.5.3, and versions starting then have been loading fonts and glyphs fine. |
I think I will test it with https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/blob/main/examples/display_text_advance_example.py , and if everything goes well and you agree Ill close the issue :) |
You were right, no issues detected. Tested on Adafruit CircuitPython 8.0.0 on 2023-02-06; Adafruit PyPortal Titano with samd51j20 LGTM thanks |
Tested on Espressif, SAMD51, SAMD21, RP2040. PyPortal demo:
Replace adafruit_bitmap_font v1.5.1 with adafruit_bitmap_font v1.5.2:
The text was updated successfully, but these errors were encountered: