The default line height of the message window, from the Window_Base is 36.
Your font height is 18.
That difference is what is causing the huge gaps.
Let's take a look from a 816x624 resoltion, just to be easier to see.
This is the default font, size 28, with the default line height of 36:
This is the bitmap font, with height of 18 and message window with line height 36:
- The gaps are here, because of the difference between the font height and line height.
Now, let's change the line height of the message window to 18, as you had changed with the yanfly plugin.
This is the default font, size 28, with the default line height of 18:
- Changing the line height to 18, changes the message box size.
This is the bitmap font, with height of 18 and message window with line height 18:
The thing is, what made the gaps are the difference between line height and font height/size. Higher the difference, higher the gaps.
How to fix this? Reduce the difference. There is nothing wrong with the plugin, it is working as expected. The "problem" is a matter of configuration. From the line height and from the bitmap font height.
On your project, you had changed the line height from several points:
- Yanfly plugin
- rpg_windows
- line width fix
My advise would change that only with yanfly.
take a look at a bitmap font height 18 and window line height of 22:
- It's start to looking better!
With your own resolution:
So try tweak the line height size(or the bitmap font height) until you find a size where everything displays the way you like. Also, if you are aiming for a pixel perfect, your game resolution must also be pixel perfect. 426x240 is not. Because 426/48 = 8,875. But 240/48 = 5, so works fine.