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

Scalable Text Rendering #14

Open
fubark opened this issue Apr 1, 2022 · 0 comments
Open

Scalable Text Rendering #14

fubark opened this issue Apr 1, 2022 · 0 comments
Milestone

Comments

@fubark
Copy link
Owner

fubark commented Apr 1, 2022

Currently Cosmic renders glyphs into bitmaps and does some scaling so it doesn't upload too much data for dynamic text sizes. A better approach is to render using MSDF for larger font sizes. Slug is better but its algorithm is patented. Is there something similar?

Also planned is using native platform libs for rendering fonts at smaller sizes. CoreText on macOS and Direct2D on Windows.

Text shaping is mostly non existent for non latin text. It's not a huge priority as of now.

@fubark fubark added this to the v1.0 milestone Apr 1, 2022
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

No branches or pull requests

1 participant