- Joined
- Dec 12, 2020
- Messages
- 36
- Reaction score
- 14
- First Language
- king's english
- Primarily Uses
- RMMV
Greetings, cadets-
I wonder if somebody could point me to the area in the code where the Escape Characters for making the Show Text command font bigger and smaller (\{ and \}, respectively) is actually removed from the string?
I looked at Window_Base.prototype.convertEscapeCharacters:

and Window_Base.prototype.maxFontSizeInLine:

But I don't see a /\x1b({|})/gi regex in .convertEscapeCharacters and while there is a /\x1b({|}|FS)(\[(\d+)])?/gi regex in .maxFontSizeInLine, it seems to be executing it to extract information to accomplish the font size change and not altering the source string?
I did a search for "\x1b({|}" throughout the core scripts and that only resulted in .maxFontSizeInLine... so if anybody is the wiser I would appreciate the help.
Thanks and have a good rest of the weekend!
I wonder if somebody could point me to the area in the code where the Escape Characters for making the Show Text command font bigger and smaller (\{ and \}, respectively) is actually removed from the string?
I looked at Window_Base.prototype.convertEscapeCharacters:

and Window_Base.prototype.maxFontSizeInLine:

But I don't see a /\x1b({|})/gi regex in .convertEscapeCharacters and while there is a /\x1b({|}|FS)(\[(\d+)])?/gi regex in .maxFontSizeInLine, it seems to be executing it to extract information to accomplish the font size change and not altering the source string?
I did a search for "\x1b({|}" throughout the core scripts and that only resulted in .maxFontSizeInLine... so if anybody is the wiser I would appreciate the help.
Thanks and have a good rest of the weekend!