How to change font

How do I change the font in RPG Maker XP?
F1 for the Help File:
1651969015304.png

You can put this in the script "Main", right before the begin.

Note that in window classes, you can temporarily change the font settings by accessing
Code:
self.contents.font
Only difference is to drop the default_, e.g.
Code:
self.contents.font.name = "MS PMincho"
self.contents.font.bold = true

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-font.147398/