How do you make the font smaller when using a custom font?

I know this might be a silly question, but how do you make the font in RPG Maker MV smaller when using a different font? The font I am using for one of games is well, rather big, and bold, and cuts stuff off the default font doesn't.
Go into the game's default plugin for windows (rpg_windows.js) and find the function "Window_Base.prototype.standardFontSize". Doing ctrl + F should do the trick.

Replace the return value to your desired font size. The default font size is 28.
Thank you.
If you use Yanfly's Core Engine, I think it can be changed there too.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-make-the-font-smaller-when-using-a-custom-font.102316/