I can't start the first step to output a font.

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
swap815translate
Newbie
Posts: 7
Joined: Sun Jan 21, 2018 6:39 am
Contact:

I can't start the first step to output a font.

#1 Post by swap815translate »

** First of all, I apologize that this is not a code or technical question.

My problem is that you can not print the font you want, not ASCII. In addition to not having a font folder in the game folder, there is also no style.default.font in options.rpy. Even the word font itself did not exist.

Is there any other way to solve this problem?

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: I can't start the first step to output a font.

#2 Post by Remix »

Font declarations are in gui.rpy in modern Ren'py versions...

(note: I created a /fonts/ folder if there wasn't one already -- otf or ttf are recommended)

## The font used for in-game text.
define gui.text_font = "gui/fonts/font_name.ttf"

## The font used for character names.
define gui.name_text_font = "gui/fonts/font_name.ttf"

## The font used for out-of-game text.
define gui.interface_text_font = "gui/fonts/font_name.ttf"
Frameworks & Scriptlets:

swap815translate
Newbie
Posts: 7
Joined: Sun Jan 21, 2018 6:39 am
Contact:

Re: I can't start the first step to output a font.

#3 Post by swap815translate »

Remix wrote: Sun Jan 21, 2018 7:19 am Font declarations are in gui.rpy in modern Ren'py versions...

(note: I created a /fonts/ folder if there wasn't one already -- otf or ttf are recommended)

## The font used for in-game text.
define gui.text_font = "gui/fonts/font_name.ttf"

## The font used for character names.
define gui.name_text_font = "gui/fonts/font_name.ttf"

## The font used for out-of-game text.
define gui.interface_text_font = "gui/fonts/font_name.ttf"
Thank you! It's solved!

Post Reply

Who is online

Users browsing this forum: Google [Bot]