Problem with changing font

Hi, 

I wanted to change my font in my RMVXA project and I used the 2 lines of code suggested in the Main script before the screenmanager.run:

Font.defualt_name = [""]Font.defualt_size = but this does not work (putting the correct name between the parentheses) and this is the error I get.  I have attached the file since for some reason I cannot copy and paste right now.Yes, I have put the font in the project in a folder named Fonts that I made but this does not seem to be the point in question. It just says that it is an undefined method for defualt_name = . Any suggestions?

Error message.png
1) please make sure that you don't have typos in your coding - you simply mistyped the commands, that's what the error tells you:


it's called default, not defualt.


2) Make sure that the name in parentheses is the font name, not the file name of the font.
LOL. I was wondering what's wrong and I didn't noticed that there was a typo in here. =D
Yeah, I actually figured that out about 20 mins after I posted this but at 3AM you miss things haha. Topic can be closed now. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-changing-font.42662/