Some custom fonts aren't showing up with YEP Message Core

If I used \fn<Comic Relief>, the font shows up in something like times new roman even though the font is placed in the game's fonts folder. If I install the font then it shows up just fine, but I don't want the players to have to install the font in order to use it. I noticed that if I change the font in the gamefont.css it shows up fine, but I don't want all the menus to have the new font, just the messages.


This is YEP Message Core:  https://www.dropbox.com/s/i793v659eaxk77d/YEP_MessageCore.js?dl=0


And this is the font I want to use: https://www.fontsquirrel.com/fonts/comic-relief


EDIT: I just tested 4 more custom fonts and they're doing the same, and one of them was displaying really small.
Please give a link to the plugin you're talking about


I don't know the exact specifications of the text code (and can't check without the link) but could it be that you need to give the name formatted as a string?


Because without string format, the space in the name would count as a break in the argument number of the text code.


try \fn<'Comic Relief'>
Please give a link to the plugin you're talking about


I don't know the exact specifications of the text code (and can't check without the link) but could it be that you need to give the name formatted as a string?


Because without string format, the space in the name would count as a break in the argument number of the text code.


try \fn<'Comic Relief'>

Here's the plugins: https://www.dropbox.com/s/i793v659eaxk77d/YEP_MessageCore.js?dl=0. I'm not sure it's the plugins that is the problem though. Some fonts that I don't have installed in my computer are showing up fine when they're in the fonts folder and some aren't.


Edit: All fonts are working for the gamefont.css file.
Bump


EDIT: I added a link to the font I want to use to the info of my original post. Here's the font: https://www.fontsquirrel.com/fonts/comic-relief


EDIT: I probably have a solution. I added a whole new segment to the css file:


@font-face {
font-family: MessageFont;
src: url("ComicRelief.ttf");
}


and it worked, the only problem now is that when I used


\fn<MessageFont>


In a message, the first couple letters were in times new roman, then the rest were comic relief. A second message that plays after that also used the same font code, and that time the entire message had comic relief font.


EDIT: I guess this is solved, since the fonts are showing up right when I change them in menus. Now I just have to figure out this \fn<fontname> problem.

Original thread: https://forums.rpgmakerweb.com/threads/some-custom-fonts-arent-showing-up-with-yep-message-core.62545/