Re:Cosmic Text: Pure Rust multi-line text handling
by lewisjoe on Friday March 03, 2023 @11:15AM
(#35011478)
Woah! That's some impressive piece of work.
I've been thinking of how browsers are eventually proving to be bad at complex text rendering, like for a word processor. You either have to make do with mimicking DOM like a text layouting engine or use browser canvas APIs - both of them locks your codebase into a single target (the browser).
The right way feels like using a cross platform text rendering engine like Skia (or this one, if it could be compiled to WASM and somehow made to write to a browser canvas)
These projects are important for that future. The one where word-processor like apps can be written cross platform by using libraries like these.
https://www.redox-os.org/