[RPGM MV] Capital letters stretched while in first place.

I've never noticed it because I usually don't use transparent windows, but it seems that in message window, big letters are a little stretched on the left side when they are the first letter of a line.

I'm using the last version of rpgmaker mv, and this issue replicate even with a new blank project, like in the associated image.

Is it a known issue? Is there an easy fix for it?
Bumping this before it becomes necroposting.
nostretch.png


It's not stretched actually. I think you might see an optical illusion where the kernaling of An makes it look like the A is thinner than when alone.
Same behavior with a single A letter.
Both letter are 18 px, but the initial A is missing some of its shadow on the left.
Not many, just a single pixel large column.
May be it is normal and expected, but I feel it is strange.
To me that says the starting position for the text is pushed left a few pixels. No idea where that would be fixed for you, but I would look for that.
Also try doing other text boxes and with images and such to narrow down the culprit.
Oh you mean that it is it is cut off? Don't mean to be nit picky but you did write stretch. Yanfly's engine core plugin fixes that if I'm not mistaken, but if you don't want to use that:
JavaScript:
Window_Base.prototype.standardPadding = function() {
    return 18;
};

Window_Base.prototype.textPadding = function() {
    return 6;
};

Save that as a .js, put it in the plugins folder and load it as a plugin. Play around with the return values until it looks nice.
Oh you mean that it is it is cut off? Don't mean to be nit picky but you did write stretch. Yanfly's engine core plugin fixes that if I'm not mistaken, but if you don't want to use that:
JavaScript:
Window_Base.prototype.standardPadding = function() {
    return 18;
};

Window_Base.prototype.textPadding = function() {
    return 6;
};

Save that as a .js, put it in the plugins folder and load it as a plugin. Play around with the return values until it looks nice.

textPadding isn't used by Window_Message.
Sorry if my explanation was perfectible, I couldn't find the good words to explain the phenomena.

===================================================================

To me that says the starting position for the text is pushed left a few pixels. No idea where that would be fixed for you, but I would look for that.
Also try doing other text boxes and with images and such to narrow down the culprit.

It is very difficult to distinct or inexistant with a background.
It only appear without faceset. It seems the reason come from line 4496 of rpg_windows.js.

JavaScript:
Window_Message.prototype.newLineX = function() {
    return $gameMessage.faceName() === '' ? 0 : 168;
};

By the way, replacing the 0 with an 1 shift the message's text by one pixel right, removing the cut.

I continue looking if I didn't miss out something.
I think standard padding is used in Window Message. Stand padding is used to define the margin inside of the window from where the content starts and ends. But the issue isn't the padding here. Since the x position starts at 0, it's starting to draw the 'A' at pixel 0 but it seems like the text drawing process itself is slightly shifting the text. I don't recall having this issue with drawText so I'll have to assume the issue lies within the way window_message draws text (I think it's using drawTextEx, but not sure since I haven't touched that object in a long time).

I'll consider this an tech issue with window_message for now, so I'll leave this thread in this subforum for now.

Original thread: https://forums.rpgmakerweb.com/threads/rpgm-mv-capital-letters-stretched-while-in-first-place.119483/