Page 1 of 1

GLCD 1306 Font compile errors

Posted: Sat Nov 02, 2024 12:52 am
by ianjoh
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

Re: GLCD 1306 Font compile errors

Posted: Mon Nov 04, 2024 10:16 am
by BenR
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.