Looking for dynamic font change script

I'm using the Crystal Engine Windowskin changing script, which lets you change windowskin based on a variable. I am looking for a similar script which changes the ingame font (or even font size) based on a variable. Does a script like that exist?
Both Yanfly's Messaging System and Modern Algebra's Advanced Text System Series of scripts give you the option to change font by textcode inside the showtext event command (and Modern Algebra's Global Text codes can enable that in every database entry).


I don't know if that is enough for your case however as you would have to know before a text which font it should use, and it would always use that font.


There might be a way to trick that with a recursive variable (storing the text code instead of a number inside that variable and then have that textcode processed), but even that would not be the same.


So if those options are not enough for your case, you'll have to wait until someone writes a new script for this.
Both Yanfly's Messaging System and Modern Algebra's Advanced Text System Series of scripts give you the option to change font by textcode inside the showtext event command (and Modern Algebra's Global Text codes can enable that in every database entry).


I don't know if that is enough for your case however as you would have to know before a text which font it should use, and it would always use that font.


There might be a way to trick that with a recursive variable (storing the text code instead of a number inside that variable and then have that textcode processed), but even that would not be the same.


So if those options are not enough for your case, you'll have to wait until someone writes a new script for this.

Thanks for the help, although that is not exactly what I'm looking for. I use Yanfly's options menu in my game, and I want the player to be able to select between different fonts as the default font. The options menu script supports variables, so if I have a script which changes the default font based on a variable, that would be great.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-dynamic-font-change-script.71561/