|Topic was automatically imported from the old Question2Answer platform.
starting up my project shows all text slightly distorted, appearing as if “too sharp”, so here and there some vertical or horizontal lines are clipped away, a 0 cut off on one side, the upper stroke of a T thinner than it should… things like that. It’s the same on several displays including phones.
However, the moment I grab and resize the window, everything looks good. And it only happens with text displayed right from the start, so text in a later opened popup, for example, seems alright.
I tried Mipmaps and Filter on/off as well as different fonts (all dynamic) and sizes, but nothing helped. What could be the reason for this?
What’s your project’s base resolution? Which stretch mode and stretch aspect are you using in the Project Settings?
As a workaround, try disabling font oversampling in the project settings but keep in mind this will make fonts pixelated or blurry at higher resolutions.
Edit: For future reference, this question was cross-posted to Reddit.
Calinou | 2021-02-16 15:42
thanks for your suggestions. My project resolution is 1080x1920px, stretch mode “2D”, aspect “keep”.
Disabling font oversampling got things rougher, as you mentioned, but actually enabling “Use Pixel Snap” fixed the problem. With that, everything looks just fine.
(Error7Studios on Reddit suggested this - I’m usually asking my questions there as well.)
I just realized that “Use Pixel Snap” leads to animations not running smoothly anymore. Zooming a sprite, for example, then “trembles, jitters, bumps” around a bit…
I tried playing around with Rendering and Display settings like Dynamic Fonts Oversampling, Stretch Mode 2d and viewport, but nothing really helped. The weirdest thing is that if I set the scale of my Label not to 1 but to 1.001 (x and y) suddenly it looks good! Now I don’t know what to do… is this a bug?
And EDIT continued:
It’s getting weirder and weirder. It appears that only the even-numbered lines show the distortions, but not the odd ones! (I tried Label and RichTextLabel with several fonts.)
pferft | 2021-02-17 11:14