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
A noob question ?
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.
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.
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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:
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:
If you want to use Arial as your font, write:
You may want to delete common/Vera.ttf if it is unused.
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"
Code: Select all
$ style.display.font = "Arial"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Ocelot