MZ Different fonts for dialogues and menu?

Is there a plugin that does that?
Aw I knew Eli had one for MV and I thought he ported to MZ as he did with his others. But it doesn't look like the case.

@Eliaquim

Aw I knew Eli had one for MV and I thought he ported to MZ as he did with his others. But it doesn't look like the case.

@Eliaquim

I will get there! ^^''
It depends on how robust of a plugin you want.

You can load a new font in RPG Maker MZ:
JavaScript:
_Scene_Boot_loadGameFonts = Scene_Boot.prototype.loadGameFonts;
Scene_Boot.prototype.loadGameFonts = function() {
    _Scene_Boot_loadGameFonts.apply(this);
    FontManager.load("My-Font-Name", "mplus-1m-regular.woff");
};

And you can change an entire window's font:

JavaScript:
_Window_MenuStatus_initialize = Window_MenuStatus.prototype.initialize;
Window_MenuStatus.prototype.initialize = function(rect) {
    _Window_MenuStatus_initialize.call(this, rect);
    this.contents.fontFace = "My-Font-Name";
}

If you just want to work with the two system fonts, you would use:

JavaScript:
this.contents.fontFace = $gameSystem.mainFontFace();
this.contents.fontFace = $gameSystem.numberFontFace();

If you are working with sprites (as you may have to with certain windows that use sprites to draw text instead of using the window's functions to draw text), you would typically use:

JavaScript:
this.bitmap.fontFace = $gameSystem.mainFontFace();

Hopefully this helps you. If you're waiting for a more robust plugin, hopefully this will help someone else. I couldn't find much info on loading new fonts when I first started working with MZ.

Original thread: https://forums.rpgmakerweb.com/threads/different-fonts-for-dialogues-and-menu.136950/