TrueType font sizing


Hi I want to know how to reset a font size when the program is running, not only on setup. Can anyone help me out with this?


Just load() the new font size wherever you need it, it does not need to be in setup(). Beware that it is an expensive operation (the chosen font is converted to a texture) so it is better to have the sizes you need ready in advance and then use them in draw(). Of course you can have as many instances of ofTrueTypeFont as you wish.