Multiple fonts variations in .TTF file
Posted: Wed Jul 06, 2022 4:50 am
Hi,
I wanna use a specific font in my project (Bahnschrift) and it has multiple specific variations, namely :
Light Condensed
Light SemiCondensed
Light
SemiBold Condensed
etc...
So I know that to use a specific font you need to input the file name in the right place, like what I have done here for the Oswald font :
define gui.text_font = "Oswald.ttf"
But how do I tell Ren'py what specific variation of the font I want to use if they're all part of a single .ttf file ?
I wanna use a specific font in my project (Bahnschrift) and it has multiple specific variations, namely :
Light Condensed
Light SemiCondensed
Light
SemiBold Condensed
etc...
So I know that to use a specific font you need to input the file name in the right place, like what I have done here for the Oswald font :
define gui.text_font = "Oswald.ttf"
But how do I tell Ren'py what specific variation of the font I want to use if they're all part of a single .ttf file ?