Been trying to change my game's font, but it hasn't been working. Using a script from other threads talking about changing fonts has only disabled the custom menu stuff I had. I have the custom font in a folder and everything. Can somebody tell me what I'm missing?
Having trouble with fonts
RPG Maker VXAce SupportBeen trying to change my game's font, but it hasn't been working. Using a script from other threads talking about changing fonts has only disabled the custom menu stuff I had. I have the custom font in a folder and everything. Can somebody tell me what I'm missing?
All you need for setting the font is to put this just above main at the bottom
Ruby:
Font.default_name = ["put font one here", "put font two here"] # Edit as you see fit.
Font.default_size = 22 # Edit as you see fit.
Nope, still nothing.
Have you checked that the font file itself is .ttf
This is the most common reason for a font not showing up.
This may not help, but I always left in the names of the default fonts in the script and the fonts themselves in the folder e.g.
The wording of the script suggests that it will be looking for at least one other font.
This is the most common reason for a font not showing up.
This may not help, but I always left in the names of the default fonts in the script and the fonts themselves in the folder e.g.
The wording of the script suggests that it will be looking for at least one other font.
My only other thought is that you're not putting in the right name.
The file name is not (normally) the name of the font.
When you double click on the font file a window should come up and in the top left it will say what the font name is.
Hold up
***
Do you have a folder in your project called Fonts?
That's where font files go.
So other than having the folder, putting the ttf font file in there, and setting the correct name, there should be nothing preventing you from having that font display.
As I've said, I've done everything. Made a folder for the fonts, and I've just now tried to see if I was putting the name in wrong like you said. I was not. Still doesn't work.
Then you have to be doing something wrong.
Can you post a screenshot of the project folder and your script list where the font is specified?
Can you post a screenshot of the project folder and your script list where the font is specified?
ok so can I assume you don't have any other scripts that use the Font settings?
Do a search.
Press CTRL+SHIFT+F
type in Font.default
What do you get?
Also I see that you have several scripts below main. they should not be affecting the results.
Didn't think to ask, is the font not showing up for the title screen or the message text?
Do a search.
Press CTRL+SHIFT+F
type in Font.default
What do you get?
Also I see that you have several scripts below main. they should not be affecting the results.
Didn't think to ask, is the font not showing up for the title screen or the message text?
ok thank you so much, that let me finally change it; it was one of the Main scripts. Thanks again.
Thread closed
Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-with-fonts.155430/