Others How to shrink font size on RPGmaker games?

chillybop

Member
Sep 30, 2019
148
87
151
A lot of translated RPGmaker games share the issue of the text going out of the box.
Unless I'm crazy I remember that there was some wayto shrink the font size to solve the issue to some extent but I can't find anywhere how to do that.
I remember it just being a text file that you had to edit the number of the font size, buton the games I looked up I couldn't find anything.
would really appreciate if someone could tell me how to do it, thanks in advance!
 

eevkyi

Member
Aug 14, 2025
323
362
83
Without using the editor, you can change this in mz games by editing the data/System.json file, adding a plugin with this setting or changing the configuration of an existing one (usually in js/plugins.js), or by directly editing the js/rmmz_windows.js file.
JavaScript:
Window_Base.prototype.resetFontSettings = function() {
    this.contents.fontFace = $gameSystem.mainFontFace();
    this.contents.fontSize = $gameSystem.mainFontSize(); // replace $gameSystem.mainFontSize()
    this.resetTextColor();
};

In games made with mv, you can also add a new plugin with this setting, change the configuration of an existing one (usually in js/plugins.js), or directly edit the js/rpg_windows.js file.
JavaScript:
Window_Base.prototype.standardFontSize = function() {
    return 28; // replace this number
};

A more convenient solution, however, would be to use a word-wrapping plugin. Simply add it to the js/plugins folder and then edit the end of the js/plugins.js file. Here's an example.
 
Last edited: