-
Notifications
You must be signed in to change notification settings - Fork 213
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
Crashed when using TFT_ESPI Smooth Font with XKeyPadAlpha #401
Comments
After remove @ImpulseAdventure Maybe you should fix this in API? |
Thanks @Lucy2003 for pointing this out. I’ll definitely look into integrating the thx |
Hi, I'm sorry that I may have some delay since next week.I will do the test when I'm available. |
I have made some changes to the TFT_eSPI driver to address the loadFont / unloadFont optimization. Note that I decided to save the font reference pointer rather than explicitly comparing the filename. |
I am sorry to tell you that I can't compile these code. The compiler output:
That's a small problem.By modifing like the line below,I can compile it. pDriver->pvFontLast = (void*)pFont->pvFont; In the end,it works well. |
Thanks @Lucy2003 -- that's good news... Can you retry the latest version in the pull request here: |
Ha,the updated code compiled withot any warning or error.And the code works well. The issue had been solved.Thanks,@ImpulseAdventure . |
Good to hear it! |
Describe the bug
When I click a InputText element which pre-set a string contained Chinese characters,XKeyPadAlpha is going to popup (grid has been drawn),then CPU 1 panic.
Reported first here
Device hardware
ESP32
general 2.8'' ILI9341 SPI TFT with XPT2046 Touch (No link available)
esp-tftespi-default-xpt2046_int
Checklist to try first
Expected behavior
Well,no crash at that time.Characters that doesn't support in XKeyPadAlpha could be removed.
Initialization messages
GUIslice version [0.16.1.1]:
The text was updated successfully, but these errors were encountered: