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 Pixelation & Atlas Memory Usage on Zoom #11

Closed
lamarrr opened this issue Jun 29, 2023 · 0 comments · Fixed by #12
Closed

Text Pixelation & Atlas Memory Usage on Zoom #11

lamarrr opened this issue Jun 29, 2023 · 0 comments · Fixed by #12

Comments

@lamarrr
Copy link
Owner

lamarrr commented Jun 29, 2023

Describe the bug
Rendered Text is pixelated on zoom or when it is larger than it's rasterized size.
We also presently render the glyphs twice, one for the regular glyph with alpha channels, and another with static strokes, this has the disadvantage that the stroke widths are static and the new stroke atlas is allocated separately.

Expected behavior
Not be pixelated and use less memory

Proposal
Switch to SDF text rendering

@lamarrr lamarrr changed the title Text Pixelation on Zoom Text Pixelation & Atlas Memory Usage on Zoom Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant