I need help with subtitles

Moricano

Well-Known Member
Jan 30, 2019
1,666
1,126
And people urgently need a little help here inside the main folder of the game where the scripts are has a name file (gui.rpy) this I know very well that there are the fonts and their sizes.
However I have a game here that the subtitles are super big and the translated texts are getting all cut.
I do game translation and there are certain words, some are smaller and others are bigger.
I need to find out where in this file I mentioned that the text of the subtitles is located so I can decrease the size.
Does anyone know and can help me this is the first game among so many that I'm having this problem with subtitle size.
If anyone can give me this tip .... Thank you in advance.
 

bas

retired
Donor
Respected User
Former Staff
May 6, 2017
3,988
30,553
 
  • Like
Reactions: Moricano

bas

retired
Donor
Respected User
Former Staff
May 6, 2017
3,988
30,553
Is it showing a different font size when using the translation than the font size the primary language? Is it all big font, or just the translation?
 

scrumbles

Well-Known Member
Jan 12, 2019
1,069
1,096
Translations are inside the "tl" folder. But you'll find only the strings over there. The font size is the same of the main language.
If you want to change it just for one language, you may define a style associated to it, like in the page linked by bas (in the example, a different font is set):


See also the example in (I have edited it according to your needs, I hope I didn't make any mistake):
Code:
translate portuguese python:
    gui.text_size = 18
    gui.name_text_size = 24
Other properties you may want to change: gui.interface_text_size, gui.label_text_size, gui.notify_text_size, gui.title_text_size