Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text rendering is incorrect on some displays #1116

Closed
TheRawMeatball opened this issue Dec 21, 2020 · 3 comments
Closed

Text rendering is incorrect on some displays #1116

TheRawMeatball opened this issue Dec 21, 2020 · 3 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@TheRawMeatball
Copy link
Member

TheRawMeatball commented Dec 21, 2020

Bevy 0.4.0

Operating system & version

Kubuntu 20.10

What you did

I ran the UI example

What you expected to happen

The text should be sharp and clean

What actually happened

It was pixelated

Additional information

I did a little probing in the UI source, and I think the issue is the scaling factor being applied to the text incorrectly. I have 2 monitors, the primary being 2560x1440 and the other being 1280x1024. It renders nicely on the second monitor with a scaling factor of one, but looks horrible on the first which has a scaling factor of 1.1666..

Clean
Screenshot_20201221_122635

Broken
Screenshot_20201221_122444

@DJMcNab
Copy link
Member

DJMcNab commented Dec 21, 2020

I believe this is known about - from https://bevyengine.org/news/bevy-0-4/:

There is still a bit more work to be done here. While Bevy UI renders images and boxes at crisp HIDPI resolutions, text is still rendered using the logical resolution, which means it won't be as crisp as it could be on HIDPI displays.

That being said, I don't think there's an issue open for it yet, so thanks for adding it :)

@memoryruins memoryruins added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Dec 22, 2020
@zeh
Copy link

zeh commented Jan 19, 2021

Seems to be fixed by 6531fcdfd27b3fbae050643116754916ca3f3b3d (on master, not yet released).

@alice-i-cecile
Copy link
Member

Closing as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

5 participants