MV Change font just for the main title menu options

Is there a way to change only the font on the main title menu options? just the new game, continue, and options. maybe there is a way by just editing some project files in /mygame/js/ or something (i think rpg_windows.js could be the one), or maybe a plugin? i want to use the font Press Start 2P Regular, i think it would look sick. is there a way to do that? thanks in advance 🙂
Well there are some plugins for example.
Well there are some plugins for example.
ehh, is there a free alternative maybe..?

edit: i didn't see the second alternative, sorry. i'll try it now
Yeah, and in MV it is quite straight forward to add a font.
You can check gamefont.css in fonts folder, and add one by yourself.

CSS:
@font-face {
    font-family: TitleFont;
    src: url("my font file.ttf");
}

And add a plugin to change the font used by the game.
JavaScript:
Scene_Boot.prototype.isGameFontLoaded = function() {
    if (Graphics.isFontLoaded('GameFont') 
       && Graphics.isFontLoaded('TitleFont') //check new font load
        ) {
        return true;
    } else if (!Graphics.canUseCssFontLoading()){
        var elapsed = Date.now() - this._startDate;
        if (elapsed >= 60000) {
            throw new Error('Failed to load GameFont');
        }
    }
};
Graphics._createGameFontLoader = function() {
    this._createFontLoader('GameFont');
    this._createFontLoader('TitleFont');//add new font 
};
Window_TitleCommand.prototype.standardFontFace = function() {
    return 'TitleFont';
};
the link of utunnels send = FREE for MV though, as you use MV,
you need to grab the museum pack with all his plugins.

so your good to go there.
I also posted an example if you want to add custom fonts by yourself.
Looks like a Copypasta Spaghetti but it should work.
it looks like it didn't recognize the font? that's not the font i used...
the link of utunnels send = FREE for MV though, as you use MV,
you need to grab the museum pack with all his plugins.

so your good to go there.
1747751081391.png
some fonts needs to be preloaded as I have one on my base,
but there are other that preload fonts on boot which might work
after you set it 🙂
some fonts needs to be preloaded as I have one on my base,
but there are other that preload fonts on boot which might work
after you set it 🙂
is there a way to preload fonts as soon as the game boots?
Did you check my code? It can preload the font before the title screen.
Did you check my code? It can preload the font before the title screen.
i tried it, but it gets stuck on "now loading..."

i think the font isn't recognized. the name seems right... i'm so lost.
Did you change the url to match your own file in the css file?
Also check the code above, and check all those TitleFont lines to see if they are missing.
Did you change the url to match your own file in the css file?
Also check the code above, and check all those TitleFont lines to see if they are missing.
oops, i forgot to respond, sorry for the wait, my bad.

happy to say that i got it to work with that, and it works great now!
thanks alot!! 🙂

Did you change the url to match your own file in the css file?
Also check the code above, and check all those TitleFont lines to see if they are missing.
also, do i have to credit you for the code by any chance or...? let me know.
Yeah I think you are free to use it because the code is mostly edit of MVs origin code. You can mention my id in your credits if you like.:LZScheeze:

Original thread: https://forums.rpgmakerweb.com/threads/change-font-just-for-the-main-title-menu-options.177797/