MV Yanfly Message Core - Stuck with small/tiny font

Hi, I'm using the Yanfly Engine Core and Yanfly Message Core. I created a fresh project and was able to recreate this issue perfectly, so I know it's not plugin order or something with my project.

When I try to use a font that isn't GameFont for the Yanfly Message Core, all text will be tiny.
mc2.PNG


\n<Name>Test font

^exact code used for the above screenshot


mc1.PNG

I saw another thread about this but the only thing that was mentioned is that the font name needs to be formatted correctly, but there's no clarity on how...

I've tried just "Roboto" and "Roboto-Regular", but it seems the plugin can't find it and defaults to some serif font (looks like Times New Roman). If I put "Roboto-Regular.ttf", it correctly uses the right font, but the font is really small. I've tried two fonts and it happens with both of them. As you might be able to see, I tried adding the other fonts in the family with a comma but that did nothing.

If I change the size larger, the font still stays small, but the spacing acts like the font is large.

Nothing is changed in Core Engine whatsoever. For Message Core, I've only changed the "Font Name" under parameters.
I've also looked all over the Yanfly Message Core documentation, but almost nothing is mentioned about the "Font Name" parameter.

Anyone know what I'm doing wrong? Or is this plugin not actually able to change the message font?
That's not a valid format for the plugin parameter.

There can, by definition, only be one "default font" used for the Message Window. You put the name of the font family.

1723178228404.png


If you're not using one of the default fonts in RPG Maker MV, you need to load it by modifying the CSS file or using Yanfly's Load Custom Fonts:

1723178356843.png
THANK YOU that was it!! I was able to get everything working by adding the font into the gamefont.css file.

For anyone wondering, it looks like this to add in a new font :

@font-face {
font-family: GameFont;
src: url("BubblegumSans-Regular.otf");
}

@font-face {
font-family: Roboto;
src: url("Roboto-Regular.otf");

And now it's working when I set the parameter to "Roboto" 🙂

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-message-core-stuck-with-small-tiny-font.170955/