Page 1 of 1

[Solved] Blurry low-definition text.

Posted: Wed Jun 08, 2022 8:20 am
by K-PSZH
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?

Re: Blurry low-definition text.

Posted: Wed Jun 08, 2022 8:55 am
by Ocelot
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

Re: Blurry low-definition text.

Posted: Wed Jun 08, 2022 10:01 am
by K-PSZH
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.

Re: Blurry low-definition text.

Posted: Wed Jun 08, 2022 2:37 pm
by strayerror
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. :)

Re: Blurry low-definition text.

Posted: Thu Jun 09, 2022 1:59 am
by K-PSZH
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!