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.
-
dales
- Newbie
- Posts: 4
- Joined: Sun Apr 03, 2005 12:43 am
-
Contact:
#1
Post
by dales » Sun Apr 03, 2005 12:57 am
I'm a newbie here, so i have some stupid questions:
could i use my own font for Ren'Py ? How to use it ?
Thanks for reading

-
PyTom
- Ren'Py Creator
- Posts: 15575
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#2
Post
by PyTom » Sun Apr 03, 2005 3:18 pm
Ren'Py supports the use of truetype fonts. It can use a file you supply, or a font that is available on your system. The former is preferred, if the font is one you can freely distribute. The latter may be necessary if you can't redistribute the font.
You change the font by changing the font style property. It usually makes sense to do this on the default style.
To change the default font to the one contained in galactica.ttf in the game directory, add to the init block at the start of your script the line:
Code: Select all
$ style.display.font = "galactica.ttf"
If you want to use Arial as your font, write:
You may want to delete common/Vera.ttf if it is unused.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
Users browsing this forum: No registered users