3 ms·
The document includes quite aggressive soft hyphenation insertion. The trouble is that the web doesn’t provide you with the tools for good hyphenation. You can
by chrismorgan 4y ago
The document includes quite aggressive soft hyphenation insertion.
The trouble is that the web doesn’t provide you with the tools for good hyphenation. You can disable hyphenation, enable it and leave it to the browser (I think Firefox is still the only one that’ll do anything with that), or insert soft hyphens all over the place and watch the browser hyphenate gratuitously. Anything like Knuth-Plass where hyphenation and too much space are both acknowledged to to be bad and weighed against each other is still not possible out of the box (and I advise against trying it in JavaScript).
Personally, I think automatic extensive soft hyphen insertion in web documents is misguided, but that’s what MB has chosen here.
The Utah document also is far too aggressive in hyphenation for my liking. The California one is much better, having hyphenated only one line.
- shadowofneptune 4y agoIt's sad that browser hyphenation is still not there yet, and may never be. I'd like to use it for my own personal work but with such variable results between browsers it's better to keep everything 'typewriter-style,' as article calls it.
- lelandfe 4y ago> I advise against trying it in JavaScript A bunch of news sites use their own line wrapping tools, though they cause a “jump” (reflow) late in the page load as the JS kicks in. You’ll see this on the Times for instance: https://www.ctrl.blog/entry/text-wrap-balance.html https://www.ctrl.blog/entry/text-wrap-balance.html