4 ms·
I'm not sure what you're referring to because when justification is enabled Typst uses almost the same line breaking algorithm as TeX. [1] One problem we had w
by laurmaedje 2y ago
I'm not sure what you're referring to because when justification is enabled Typst uses almost the same line breaking algorithm as TeX. [1]
One problem we had was over-eager hyphenation. We've addressed that recently. [2]
[1]: https://github.com/typst/typst/blob/9b001e21121ab7b5645aa36f0cdcb6ac57e03a2b/crates/typst/src/layout/inline/linebreak.rs#L182 https://github.com/typst/typst/blob/9b001e21121ab7b5645aa36f...
[2]: https://github.com/typst/typst/pull/4584 https://github.com/typst/typst/pull/4584
- AnonymousPlanet 2y agoThat is great news! It wasn't there the last time I checked. Maybe I missed it. Thanks for clarifying!