Just experimenting with getting an ideal font and contrast for a project and I am unable to find a font larger than 14 that will compile.
Have i got a setting wrong that is causing this issue, what does compile displays fine on the GLCD.
Thanks
Ian
GLCD 1306 Font compile errors
-
- Posts: 9
- http://meble-kuchenne.info.pl
- Joined: Sat Jan 30, 2021 3:42 pm
-
- Matrix Staff
- Posts: 1909
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 672 times
Re: GLCD 1306 Font compile errors
Hello Ian,
I imagine you're running out of ROM with a larger font, they tend to eat memory.
If you want a big font then one way would be to create your own with a reduced character set to save on the amount of ROM required.
Details on how to do this are available here.
https://www.flowcode.co.uk/wiki/index.p ... l_Library)
Another way would be to use the SetFontScaler component macro to scale up a smaller font.
I also see that you have 4 fonts enabled in your project but currently you're only using 2 of them. Removing the fonts you're not using will help to save a load of ROM space.
I imagine you're running out of ROM with a larger font, they tend to eat memory.
If you want a big font then one way would be to create your own with a reduced character set to save on the amount of ROM required.
Details on how to do this are available here.
https://www.flowcode.co.uk/wiki/index.p ... l_Library)
Another way would be to use the SetFontScaler component macro to scale up a smaller font.
I also see that you have 4 fonts enabled in your project but currently you're only using 2 of them. Removing the fonts you're not using will help to save a load of ROM space.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel