cosmic icon indicating copy to clipboard operation
cosmic copied to clipboard

Scalable Text Rendering

Open fubark opened this issue 3 years ago • 0 comments

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 avatar Apr 01 '22 03:04 fubark