1
Discussion - EVE / Re: EVE3 to EVE4 - Big Font Display Issue
« on: October 07, 2021, 04:26:26 AM »
Thank you so much Rudolph, I've been trying to get multiple fonts working for a long while and this was the help I needed.
I did some experimenting with different size fonts and found that without caching and having a large sized font, it is very limited as to what you can display before you get artifacts / display corruption.
Displaying fonts without caching:
Size 16 - 52 character limit before corruption
size 32 - 26 character limit before corruption
size 64 - 12 character limit before corruption
With caching:
size 16 - tested up to 216 characters without issue
size 32 - tested up to 108 characters without issue
size 64 - 37 character limit before corruption
So caching makes a huge difference!
I tried multiple lines of 9 characters of the 64 pt. font and it displayed ok. I zipped my code if it is helpful for others.
Quote
And when I use FONT_FUN32 for the long text line EVE does not like that very much as the funtype 32 font no longer is cached.
So there are still limits, you can only cache one font and any uncached font needs to be either small enough to allow EVE to fetch all the glyphs in one line from the flash or you need to limit the amount of different glyphs in one line.
I did some experimenting with different size fonts and found that without caching and having a large sized font, it is very limited as to what you can display before you get artifacts / display corruption.
Displaying fonts without caching:
Size 16 - 52 character limit before corruption
size 32 - 26 character limit before corruption
size 64 - 12 character limit before corruption
With caching:
size 16 - tested up to 216 characters without issue
size 32 - tested up to 108 characters without issue
size 64 - 37 character limit before corruption
So caching makes a huge difference!
I tried multiple lines of 9 characters of the 64 pt. font and it displayed ok. I zipped my code if it is helpful for others.