MZ Problems with the Fonts in my project

Hello there,

I'm almost new here, cause I frequently look to this forum but never wrote something.

I have an issue with RPG Maker and VisuMZ plugins: somehow I can't change the font of the game.

As you can see in the pictures, I'm using ONLY VisuMZ plugins but someting is wrong. I can't change the font neither the size.

Need help, please!
Moved to: Plugin Support

Did you set up the fonts in the plugins?
Do any of the plugins use a variable for font size, and have you used that variable for something else?
Did you remove the fallback fonts?
I think there has to be some value there in order for the basic fonts to function properly.
Even just a single letter to give a value(not sure if it may cause issues later, so usually just leave it as default:
Code:
Verdana, sans-serif
1679102699834.png


Based on:
1679102990551.png

if you call
Code:
Game_System.prototype.mainFontFace()
it will result in
Code:
"rmmz-mainfont, Verdana, sans-serif"
where as if you left fallback blank, it will result in:
Code:
"rmmz-mainfont, "
Which isn't complete and expects another value.
alternatively, if you absolutely MUST never use a fallback(not recommended),
you can change the code to look like:
1679103198120.png

In which case, will return:
Code:
"rmmz-mainfont"
Moved to: Plugin Support

Did you set up the fonts in the plugins?
Do any of the plugins use a variable for font size, and have you used that variable for something else?
In the plugins I checked everywhere but seems there isn't a single line where to change it, only the size.


Did you remove the fallback fonts?
I think there has to be some value there in order for the basic fonts to function properly.
Even just a single letter to give a value(not sure if it may cause issues later, so usually just leave it as default:
Code:
Verdana, sans-serif
View attachment 256352

Based on:
View attachment 256353
if you call
Code:
Game_System.prototype.mainFontFace()
it will result in
Code:
"rmmz-mainfont, Verdana, sans-serif"
where as if you left fallback blank, it will result in:
Code:
"rmmz-mainfont, "
Which isn't complete and expects another value.
alternatively, if you absolutely MUST never use a fallback(not recommended),
you can change the code to look like:
View attachment 256354
In which case, will return:
Code:
"rmmz-mainfont"
Thank you!

I had changed those parameters some time ago, putting the new font in all the three spaces (main font, Number font and Fallback font). Now I put Verdana and Sens Serif in Fallback and put back mplus 2 in Number Font. Now the app is reading my font from the start.

I was going crazy. I knew that there was something very simply to do, but I couldn't imagine that was that one.

Now it's working. Thank you guys!!

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-the-fonts-in-my-project.155895/