valadaptive

Results 217 comments of valadaptive

> What do you mean by "In particular, egui needs to support flowing text around previous text"? I don't suppose you have a screenshot example? As discussed in https://github.com/linebender/parley/issues/325, egui...

> Hmm... if the API consumer is doing layout, then is any of the [line breaking code (greedy.rs)](https://github.com/linebender/parley/blob/main/parley/src/layout/line/greedy.rs) useful? Would you basically just want an iterator over shaped glyphs, sizes,...

Let's see: - For the relaxed swizzle operation, the pseudocode in the overview is actually correct, but the accompanying prose is incorrect/vague. - According to the overview's pseudocode, the unsigned...

> Can you give an example of this? Why are these separate "lines" rather than two spans of text on the same line? egui has a "left-to-right wrapped" mode that...

> I don't think I quite understand why the layout being single-pass prevents this? I assume you pretty much always have a definite pixel width constraint in egui? Can you...

For full CSS-level support, `word-break` will need to be a style property that can vary per-character. That would entail moving text analysis to the style builders' "build" methods, and adding...

Maybe? I'm not sure to what extent the Unicode line-breaking algorithm can do that. I *think* it's stateful, and `word-break: break-all` says "treat certain line-breaking classes as if they were...