2021-11-12 08:33 AM
Problem
When running the simulation, the text resources are invisible.
Additional notes:
Q: Is the resource properly configured?
A: Yes. I think so. Here's an example of the PressureString:
Q: Is the simulator Locale configured to GB?
A: Yes. I think so.Q: Do the fonts exist?
A: Yes. I think so.
Q: Has the code been generated properly?
A: Difficult to tell, but I see the text initialisation
Versioning info:
TouchGFX Designer version: 4.16.0
Solved! Go to Solution.
2021-11-24 09:38 AM
Uncheck Binary font files. I'm pretty sure that's the problem. I was able to reproduce the the failed assertion with your Text Configuration settings. The only change I needed to make to properly run it and have the text visible was unchecking Binary Font Files
I checked my Text Configuration and the options I have checked are Remap Texts, A4, and Mapped Storage Format. Perhaps use this default configuration unless you really need to use binary files.
See the support library for binary files: looks like they have to be linked in to your program, and also require an additional configuration step that you need to manually implement in your code.
2021-11-24 01:10 PM
This configuration has fixed my problem!
Thanks a lot @Michael K !
I still need to be able to use the font as binary files (client requirement).
I will investigate soon how the FrontEndAppication relates to the fonts initialization.
Thanks again.