Changing Font

Seriel

Veteran
Veteran
Joined
Aug 16, 2014
Messages
3,018
Reaction score
508
First Language
English
Primarily Uses
Other
Edit fonts/gamefont.css

Code:
@font-face {    font-family: GameFont;    src: url("FONT NAME GOES HERE.ttf");}
 

TheWhiteRose000

Veteran
Veteran
Joined
Jun 9, 2014
Messages
50
Reaction score
3
First Language
English
Primarily Uses
Edit fonts/gamefont.css

@font-face {    font-family: GameFont;    src: url("FONT NAME GOES HERE.ttf");}
Tried that, game just tries loading and I get a error message with every font I use. and I do keep the .ttf at the end.

 
Last edited by a moderator:

KockaAdmiralac

Cube-shaped garbage can
Veteran
Joined
Jun 15, 2015
Messages
570
Reaction score
156
First Language
Serbian
Primarily Uses
N/A
Where is your .ttf file located?

How is your .ttf file named?

It must be located in the fonts directory and named as you entered, in your case "Chrono Trigger Monospaced" (with extension .ttf)
 
Last edited by a moderator:

TheWhiteRose000

Veteran
Veteran
Joined
Jun 9, 2014
Messages
50
Reaction score
3
First Language
English
Primarily Uses
Its in the fonts, and I copy and paste the exact name from the file into the text area.

 
Last edited by a moderator:

KisaiTenshi

Veteran
Veteran
Joined
Oct 24, 2015
Messages
310
Reaction score
122
Edit fonts/gamefont.css

@font-face {    font-family: GameFont;    src: url("FONT NAME GOES HERE.ttf");}
Do not do this, this way.

The correct answer is  "I want to change the default font", copy the font to the fonts directory, then ADD the src.

@font-face { font-family: GameFont; src: url("FONT NAME GOES HERE.ttf"); src: url("mplus-1m-regular.ttf"); }That way if the font is removed or errors out, it tries the next one.

However if you want to change the font used for just one thing, eg with Yanfly's MessageCore plugin. Then you need to have alternate fonts available to do so. So you'd instead have something like

Code:
@font-face {    font-family: GameFont;    src: url("mplus-1m-regular.ttf");            }@font-face {    font-family: AlternateGameFont;    src: url("FONT NAME GOES HERE.ttf");            }
 

TheWhiteRose000

Veteran
Veteran
Joined
Jun 9, 2014
Messages
50
Reaction score
3
First Language
English
Primarily Uses
Do not do this, this way.

The correct answer is  "I want to change the default font", copy the font to the fonts directory, then ADD the src.

@font-face { font-family: GameFont; src: url("FONT NAME GOES HERE.ttf"); src: url("mplus-1m-regular.ttf"); }That way if the font is removed or errors out, it tries the next one.

However if you want to change the font used for just one thing, eg with Yanfly's MessageCore plugin. Then you need to have alternate fonts available to do so. So you'd instead have something like

@font-face { font-family: GameFont; src: url("mplus-1m-regular.ttf"); }@font-face { font-family: AlternateGameFont; src: url("FONT NAME GOES HERE.ttf"); }
I did what you said for the.

@font-face {

font-family: GameFont;

src: url("FONT NAME GOES HERE.ttf");

src: url("mplus-1m-regular.ttf");

}

But it still doesn't want to load the font I have picked.

Is there a reason why it doesn't work, something I'm missing or overlooking?



Edit: Got it working with a different font, same thing nothing is wrong with how you can it.

However now I just got to figure out how to increase the indent between words.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Trading has been halted on the TSX (Canadian stock market) because of "technical issues". Suspicious... I'm bracing myself for a sea of red tomorrow lol
The Loco-Motion song pre-dates the dance. Meaning the lyrics are kinda misleading. "Everybody's doing a brand new dance now"... No they weren't, you just used peer pressure to trick everyone into going along with it.
Love it when someone confuses "RPG Maker (or script/plugin) has a bug" with "I didn't set it up right and it's not working as I want (or gives an error)"
Is animation really as hard as I think it is?
Out of sudden, snow. Everywhere.

Forum statistics

Threads
94,579
Messages
922,042
Members
124,444
Latest member
GreenRelicanth
Top