[Solved] Blurry low-definition text.

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
User avatar
K-PSZH
Regular
Posts: 33
Joined: Sun May 15, 2022 10:34 am
Soundcloud: K-PSZH
Location: Russia
Contact:

[Solved] Blurry low-definition text.

#1 Post by K-PSZH » Wed Jun 08, 2022 8:20 am

I want to give the text in my novel a little antiquity, i.e., I want it to be a little blurry, like in old games. But even when I create a new project with a minimum resolution, when the game window is maximized on the FHD screen, the text is still clean. Is it possible to fix it?
Last edited by K-PSZH on Thu Jun 09, 2022 1:59 am, edited 1 time in total.
Missing/forgetting a lot of simplest things and ask about them here.

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1883
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Blurry low-definition text.

#2 Post by Ocelot » Wed Jun 08, 2022 8:55 am

Try hinting "none" style property
https://www.renpy.org/doc/html/style_pr ... ty-hinting

Note that modern fonts are a complex set of instructions, designed to provide clean look at any size, resolution and position, not a simple imagefile.
You can try using image-based fonts instead: https://www.renpy.org/doc/html/text.htm ... ased-fonts
< < insert Rick Cook quote here > >

User avatar
K-PSZH
Regular
Posts: 33
Joined: Sun May 15, 2022 10:34 am
Soundcloud: K-PSZH
Location: Russia
Contact:

Re: Blurry low-definition text.

#3 Post by K-PSZH » Wed Jun 08, 2022 10:01 am

Ocelot wrote:
Wed Jun 08, 2022 8:55 am
Try hinting "none" style property
https://www.renpy.org/doc/html/style_pr ... ty-hinting
hinting doesn't worked for me. Using it, some characters have shifted a few pixels in different directions.
Ocelot wrote:
Wed Jun 08, 2022 8:55 am
Note that modern fonts are a complex set of instructions, designed to provide clean look at any size, resolution and position, not a simple imagefile.
You can try using image-based fonts instead: https://www.renpy.org/doc/html/text.htm ... ased-fonts
I'm afraid that my skills aren't enough for this, but I'll try to do something with this.
Missing/forgetting a lot of simplest things and ask about them here.

strayerror
Regular
Posts: 154
Joined: Fri Jan 04, 2019 3:44 pm
Contact:

Re: Blurry low-definition text.

#4 Post by strayerror » Wed Jun 08, 2022 2:37 pm

Try adding the line below to your game, it will make text render at the resolution you defined for your game and then scale it up like it would an image which should give it that old-school blurry quality you're looking for, rather than the default which tries to keep text as crisp and readable as possible regardless of resolution.

Code: Select all

define config.drawable_resolution_text = False
Hope it's what you're looking for. :)

User avatar
K-PSZH
Regular
Posts: 33
Joined: Sun May 15, 2022 10:34 am
Soundcloud: K-PSZH
Location: Russia
Contact:

Re: Blurry low-definition text.

#5 Post by K-PSZH » Thu Jun 09, 2022 1:59 am

strayerror wrote:
Wed Jun 08, 2022 2:37 pm
Try adding the line below to your game, it will make text render at the resolution you defined for your game and then scale it up like it would an image which should give it that old-school blurry quality you're looking for, rather than the default which tries to keep text as crisp and readable as possible regardless of resolution.

Code: Select all

define config.drawable_resolution_text = False
Hope it's what you're looking for. :)
Yeah, it's definitely what I wanted. Thanks!
Missing/forgetting a lot of simplest things and ask about them here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]