Where can I change the letters font size?

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.
Post Reply
Message
Author
nanashine
Regular
Posts: 129
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Where can I change the letters font size?

#1 Post by nanashine »

I wanted to make them a little bigger.
Is it on screen, scrip, etc? I can't find the right place.
Thanks.
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Where can I change the letters font size?

#2 Post by Remix »

For the bulk of text, try looking in gui.rpy and adjust:


## The size of normal dialogue text.
define gui.text_size = 22

## The size of character names.
define gui.name_text_size = 28

## The size of text in the game's user interface.
define gui.interface_text_size = 24

## The size of labels in the game's user interface.
define gui.label_text_size = 28

## The size of text on the notify screen.
define gui.notify_text_size = 16

## The size of the game's title.
define gui.title_text_size = 50
Frameworks & Scriptlets:

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Where can I change the letters font size?

#3 Post by ComputerArt.Club »

Oh no, I saw this post and was happy to find something I could finally answer, but alas, I was beaten to it again.

A few more tips, it is probably around line 55 of the gui file.

Also, if you plan on exporting to a mobile format, take a look at lines 427 to 433. Actually, I usually just delete the mobile section as I want them both to look the same (and I usually only export to mobile anyway). Not sure if that is bad practice, but it has worked for me so far.

nanashine
Regular
Posts: 129
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Re: Where can I change the letters font size?

#4 Post by nanashine »

Thank you so much, everybody :)
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]