You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scope question: would this include supporting (regardless of whether they’re included in this crate itself or not) diverse fitting algorithms, e.g. Knuth-Plass instead of the ubiquitous greedy?
(Knuth-Plass isn’t suitable for text editing because you don’t want your paragraph reflowing all the time as you type, but for rendering existing text it’s generally excellent, and I’m working on a project where I want something like that and am deciding whether to work with lower-level components directly or help build a more powerful thing like this.)
To make the crate generally useful and composable, my goal is to expose as much of the internal layout pipeline as possible including line breaking. I'm not quite sure what the API for that looks like yet, but I'll have a much better idea at the end of next week.
I'm also not opposed to including an implementation of Knuth-Plass at some point in the future.
nicoburns
changed the title
Support line breaking
Support unicode aware line breaking
May 28, 2024
Add support for Unicode aware line breaking according to UAX #14.
The text was updated successfully, but these errors were encountered: