since fonts are rasterized already during the code generation, it is not possible to change the size of the font at the runtime. This would require a TrueType font engine running in the target system and the complete TTF font files stored in the target. Please see also Font resource.
As far as I understand your application case, you would need to have two Font resource members in your project. One font is configured with size X. The other font is configured with size Y. At the runtime you can assign the right Font member to the Text view. You can even switch between the fonts dynamically. Changing the contents of the font itself, however, is not possible.
Does it help you?
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!