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

Should all vertices be rounded to the nearest pixel? #153

Open
LPGhatguy opened this issue May 3, 2024 · 0 comments
Open

Should all vertices be rounded to the nearest pixel? #153

LPGhatguy opened this issue May 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LPGhatguy
Copy link
Member

In #151, yakui started rounding the positions of vertices in the text pipeline to the nearest physical pixel. This fixed our longtime blurry text issue, but we were only able to apply it to text because it caused new artifacts in some other geometry.

I think it's possible that the math I wrote for rounded rectangles is actually what's at fault here. It's possible that we can fix that (or throw it away in favor of something like lyon's version of the same code) and start rounding all vertices to the nearest physical pixel.

@LPGhatguy LPGhatguy added the enhancement New feature or request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant