MZ MewglesCustomMapName modified to draw Icons

I know next nothing about java javascript and/or programming but i'm here trying to make this work. The problem was that i wanted to be able to draw icons with Escape characters in the name of the map while using a custom name plugin. Mewgles changes the font to a custom font and size and changes the position of the text to a custom placing, but doens't allow the use of Escape Characters. Thx to @Lady_JJ and @Aesica's help i was able to understand that when you use DrawText , it won't allow to use them but if you use DrawTextEx it allows Escape characters.

So what i did with my basic understanding of programing (lol) is just looked for all the DrawText parts of the code and replaced them with DrawTextEx. And it worked! now i can use icons.... however the whole code doesn't affect the text now, so the position of the text is the standard map name and the font is the game font... so now i'm in the opposite situation where i now have the icons but the plugin doesn't affect the text at all. The text is not centered, the font won't change and the size won't change. it's all the standard. Everything else that doesn't have to do with the text works flawlessly

What do i have to do for the plugin to link all the coding into DrawTextEx instead of DrawText?

im attatching the modified and the original version.
Hi there!

Well, maybe you can try to use my plugin Eli Global Text. It enables escape codes to be used on any window.
You can either set it to automatic mode(escape codes will work everywhere) or use it on manual mode(You need to start the text with a specific character for the window use the escape code feature)
just as a bit clarification, "Java" = NOT javascript, which is compleetly
different language, so keep away, if you say "javascript" you can shorten
is by "js" otherwise, many people would say that the engine dont use JAVA
but JAVASCRIPT (JS).

but the escape characters can be drawText and drawTextEx, and while
there are free plugins by people with escape characters, why not using
it like the one Eli mentioned.

he target MZ more than MV, but he knows what he is doing, if it doesn't
work, he fix it pretty fast, so give it a try, and try not to modify if you
dont understand JS, there are many expert in JS than makes your life
easier 🙂
Hi there!

Well, maybe you can try to use my plugin Eli Global Text. It enables escape codes to be used on any window.
You can either set it to automatic mode(escape codes will work everywhere) or use it on manual mode(You need to start the text with a specific character for the window use the escape code feature)
I tried your plugin, It does the same as changing the code to drawTextEx. it enables me to use escape characters but the plugin wont change the font, the size and the location 🙁

Original thread: https://forums.rpgmakerweb.com/threads/mewglescustommapname-modified-to-draw-icons.140011/