Changing fonts

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
sonictoad
Regular
Posts: 30
Joined: Tue Mar 12, 2019 10:39 pm
Projects: It's Different When It's Your Own
Organization: Sonic Toad Media LLC
itch: nyhcmaven84
Location: Bronx, NY
Contact:

Changing fonts

#1 Post by sonictoad » Fri Jun 07, 2019 6:58 pm

So, I'm trying to change the fonts used in the dialog boxes among other things. I've seen screenshots of all these games that use bespoke fonts or other things that clearly aren't default GUI elements, but in defining a new font to use in the games, what happens if players don't have that font installed? Does it just automatically work once the final build is executed or do I have to include TTF files in the game directory?

User avatar
Matalla
Veteran
Posts: 202
Joined: Wed Mar 06, 2019 6:22 pm
Completed: The Lost Smile
itch: matalla-interactive
Location: Spain
Contact:

Re: Changing fonts

#2 Post by Matalla » Fri Jun 07, 2019 7:25 pm

sonictoad wrote:
Fri Jun 07, 2019 6:58 pm
So, I'm trying to change the fonts used in the dialog boxes among other things. I've seen screenshots of all these games that use bespoke fonts or other things that clearly aren't default GUI elements, but in defining a new font to use in the games, what happens if players don't have that font installed? Does it just automatically work once the final build is executed or do I have to include TTF files in the game directory?
You have to include the fonts in the game directory, right. Otherwise it won't work, final build or not.
Comunidad Ren'Py en español (Discord)
Honest Critique

User avatar
sonictoad
Regular
Posts: 30
Joined: Tue Mar 12, 2019 10:39 pm
Projects: It's Different When It's Your Own
Organization: Sonic Toad Media LLC
itch: nyhcmaven84
Location: Bronx, NY
Contact:

Re: Changing fonts

#3 Post by sonictoad » Fri Jun 07, 2019 11:26 pm

Matalla wrote:
Fri Jun 07, 2019 7:25 pm
sonictoad wrote:
Fri Jun 07, 2019 6:58 pm
So, I'm trying to change the fonts used in the dialog boxes among other things. I've seen screenshots of all these games that use bespoke fonts or other things that clearly aren't default GUI elements, but in defining a new font to use in the games, what happens if players don't have that font installed? Does it just automatically work once the final build is executed or do I have to include TTF files in the game directory?
You have to include the fonts in the game directory, right. Otherwise it won't work, final build or not.
It works!! Yay, my game is looking prettier now!

Now to get this godforsaken GUI box to change without tearing my hair out....

Post Reply

Who is online

Users browsing this forum: mold.FF