[SOLVED] Custom fonts are replaced with DejaVuSans.ttf

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
Segaz3
Newbie
Posts: 4
Joined: Tue Jul 21, 2020 9:43 am
Contact:

[SOLVED] Custom fonts are replaced with DejaVuSans.ttf

#1 Post by Segaz3 »

Hello there.
I'm having an annoying problem to which I couldn't find any solution. I decided to add a custom font to the game (Constantia.ttf). However, after putting the files in my game's directory and then updating the gui.rpy file, loading the game shows the default font (DejaVuSans.ttf). No errors, nothing. Just the default font instead of the custom one. Why does that happen?

Thanks.
Last edited by Segaz3 on Tue Jul 21, 2020 4:19 pm, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Custom fonts are replaced with DejaVuSans.ttf

#2 Post by Donmai »

If you're sure you did everything right, try hitting the Delete Persistent button in the launcher, or manually remove the old rpyc files (NOT the rpy, please :) ) from your project game folder. Then run your game again.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Segaz3
Newbie
Posts: 4
Joined: Tue Jul 21, 2020 9:43 am
Contact:

Re: Custom fonts are replaced with DejaVuSans.ttf

#3 Post by Segaz3 »

Donmai wrote: Tue Jul 21, 2020 3:57 pm If you're sure you did everything right, try hitting the Delete Persistent button in the launcher, or manually remove the old rpyc files (NOT the rpy, please :) ) from your project game folder. Then run your game again.
Wow, thanks a lot! That seemed to do the trick.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], DewyNebula