What's going wrong with my font?

As most people tend to do, I try to make my own project a little more personalised by having a different font than the engine's default.

Now, obviously the engine's default works totally fine in every circumstance, like we see here:

image.png


The font I ended up rolling with is Rockwell, as I found myself pretty attached to it and find that it suits my works and art style well.
For the most part, the font functions perfectly with RPG maker MV in virtually every context; text appears clean in battles and standard text boxes, like here:
1696034043677.png


Unfortunately, the same cannot be said for the Name Input Processing screen, where a lot of unfortunate things start to happen:

1696034236465.png

1696034288958.png
1696034302215.png


In some cases it's relatively subtle, but in others (such as the Dark Mage up there) it's extremely noticeable and problematic.

What can I do to sort this out and make this font work? It's just so strange to me how the Name Input Processing screen in particular is going wrong with the font like this and not any other part of the engine...
I've noticed that too. I thought at one point it was a monospacing problem, but the way the "s" shows up seems to be something different.
You can try this snippet that Archeia posted a while ago and see if it works. Just copy-and-paste the code into Notepad or an equivalent text editor, and save it as a js file in your plugins folder (and activate it as a plugin, of course).
https://forums.rpgmakerweb.com/index.php?threads/js-snippets-thread.92501/#post-860484
You can try this snippet that Archeia posted a while ago and see if it works. Just copy-and-paste the code into Notepad or an equivalent text editor, and save it as a js file in your plugins folder (and activate it as a plugin, of course).
https://forums.rpgmakerweb.com/index.php?threads/js-snippets-thread.92501/#post-860484
That definitely solved the issue; thanks a lot for pointing to that! Been bugging us for ages.

That being said, I still am pretty curious about what went wrong in the first place, and what about the name input screen that was being difficult. :hswt:

But hey, I'm just glad it's fixed, thanks a bundle again.
The original code appears to have left-aligned each letter; the modified code centers each letter.

Original thread: https://forums.rpgmakerweb.com/threads/whats-going-wrong-with-my-font.161601/