Page 1 of 1

Fonts in Ren'py

Posted: Thu Dec 22, 2011 7:59 pm
by purple_pockets
I went through the tutorial game, and found that you could change the font of the text, but saw nothing about how to do so. Do you have to define what font you wish to use? If so, please tell me the script.

p.s. If this isn't supposed to be posted here or something, please let me know. I don't want to violate any rules. :D

Re: Fonts in Ren'py

Posted: Thu Dec 22, 2011 8:03 pm
by Pugfarts
There should be a spot in your 'options' script that looks like this;

## These let you customize the default font used for text in Ren'Py.

## The file containing the default font.

style.default.font = "AveriaSerif-Regular.ttf"
That's not the default font, that's one I added. All you have to do is put the font file in your game folder and then put the file name there.