2 ms·
It's possible, but the markup is very, very messy. I made a proof-of-concept by hand a couple months ago [1], but it would require quite a bit more work to auto
by mpetroff 6y ago
It's possible, but the markup is very, very messy. I made a proof-of-concept by hand a couple months ago [1], but it would require quite a bit more work to automate it. It's probably best to just wait for browsers to implement CSS Text Module Level 4, which includes a property for enabling use of better line breaking algorithms.
[1] https://mpetroff.net/files/pre-calculated-line-breaks-demo/ https://mpetroff.net/files/pre-calculated-line-breaks-demo/