How to change the font on title command window?

Hi, I am new to rpg maker and still learning. I have searched through a lot of forums and still couldn't find a solution.
May I kindly ask how can I ONLY change the font type of the command window on the title screen? (The 'New Game', 'Load' and 'Option' one)

I have even tried to add these lines in JS, the font did change, but that was not the one I wanted and I don't know what mistakes I have made.
JavaScript:
Window_TitleCommand.prototype.standardFontFace = function() {
        return 'XXX.ttf';
};

Edited: Problem solved, thank you for the replies!
I changed my code to
JavaScript:
Window_TitleCommand.prototype.standardFontFace = function() {
        return 'Font_Family_name';
};
You can't just change the font in the code, you also need to tell the game to load the font you want. The code you put there will change it to the default system font because you haven't loaded XXX (or whatever font you wanted).

You can do it manually by editing the gamefont.css and writing a plugin to change the font for that window, or you can more easily use Hakuen Studio's Font Manager (all of his MV plugins are in one library project).
just there require also a bit more code.

preload font's can be done in various plugins,
the title command need to read "this.content.fontFace = "NAME_OF_FONT"
but also it's size while resetting it while on the title screen.

there are plugins available, so no need to make one.
fonts\gamefont.css

CSS:
@font-face {
    font-family: GameFont;/*this is the name of the font you need to use*/
    src: url("mplus-1m-regular.ttf");
}

Just to clarify something, you need to use font-family in the css instead of the file name.
Just to clarify something, you need to use font-family in the css instead of the file name.
he only want it on the title screen command window, not the main game 😀
else it works just fine with your approach 😀
I add few lines to change things like font size and padding but seems like there's no way I can do the same with font type.
Thanks for the answer! I will try those plugins!

Edited: Special thanks to utunnels, after I used the font family name, that code works.
JavaScript:
Window_TitleCommand.prototype.standardFontFace = function() {
        return 'Font_Family_name';
};

I added these few lines in rpg_windows.js (right under the Window_TitleCommand section for me). And don't forget to put the ttf file in the fonts folder.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-font-on-title-command-window.173952/