Change font via script call
RPG Maker XP SupportThe best way to go about this is to use a custom message script that has a font-change option (I assume this exists, it's been a while).
Otherwise, the problem can be remediated by adding this line to Window_Message:
Then your events would look like
Otherwise, the problem can be remediated by adding this line to Window_Message:
Code:
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.name = Font.default_name #<========== this one here
Code:
@>Text: Default font is Arial
@>Script: Font.default_name = 'Times New Roman'
@>Text: Now it's TNR
@>Script: Font.default_name = 'Arial'
@>Text: Back to Arial
Ah, perfect! Thank you; it works like a charm!
Original thread: https://forums.rpgmakerweb.com/threads/change-font-via-script-call.143644/