[Solved] Blurry low-definition text.
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.
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.
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
[Solved] Blurry low-definition text.
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.
- 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.
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
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 > >
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
Re: Blurry low-definition text.
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 amTry hinting "none" style property
https://www.renpy.org/doc/html/style_pr ... ty-hinting
I'm afraid that my skills aren't enough for this, but I'll try to do something with this.Ocelot wrote: ↑Wed Jun 08, 2022 8:55 amNote 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
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.
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.
Hope it's what you're looking for. :)
Code: Select all
define config.drawable_resolution_text = False- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
Re: Blurry low-definition text.
Yeah, it's definitely what I wanted. Thanks!strayerror wrote: ↑Wed Jun 08, 2022 2:37 pmTry 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.
Hope it's what you're looking for.Code: Select all
define config.drawable_resolution_text = False![]()
Missing/forgetting a lot of simplest things and ask about them here.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]