-
Notifications
You must be signed in to change notification settings - Fork 2k
Blurry Text Rendering When Using a Pixel-style Font #1790
Description
Describe the bug
When using a pixel-style font like Cozette or Ark I notice that the edges of the font get kind of blurred slightly most of the time, though if you position and size the window/widget to just the right spot the edges will be clear.
Here's a screenshot:
The effect is subtle, but zooming in makes it more obvious:
But the button text happens to line up fine and end up clear:
To Reproduce
It seems to be reproducible by simply uploading a font such as font like Cozette or Ark and placing a label.
Expected behavior
The edges of the font should stay crisply lined up with the screen's pixels
Desktop (please complete the following information):
- OS: Ubuntu 20.04
Additional context
Related to fishfolk/punchy#38.
I wonder if this might be due to linear filtering on the font texture. 🤔 It might be simple enough to allow you to specify that a certain font should have it's texture generated with nearest filtering mode. We would have to test to see if switching the filtering mode will fix the issue.


