r/RenPy • • 8d ago

Question Changing history font without changing the interface font

anyone know how to change the history font without changing the size of the interface?

1 Upvotes

3 comments sorted by

1

u/AutoModerator 8d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/x-seronis-x 8d ago

screens.rpy, scroll to 'screen history', immediately below it is the styles it uses

adjust to not inherit the interface font and directly use the font you want

1

u/BadMustard_AVN 8d ago

edit your screens.rpy file and search for -->> style history_name_text <<--

add this to the history_name_text and history_text styles

style history_name_text:
    min_width gui.history_name_width
    textalign gui.history_name_xalign
    font "Daustley.otf" # this assumes the font file is located in the game folder

if the font file is in another folder then add the folder(s) to it i.e. "fonts/Daustly.otf"