clagnut / webtypography

The source code for WebTypography.net, a practical guide to web typography.
WebTypography.net
Other
827 stars 120 forks source link

Hyphenation #36

Open educkf opened 4 years ago

educkf commented 4 years ago

Hello there!

I was reading the section regarding hyphenation, where it is said it is not recommended to justify the content, as hyphenation works pourly. I am not sure when it was written, but do you think this issue persists? I found some content regarding this, specially these articles: https://justmarkup.com/articles/2019-01-28-a-look-at-css-hyphenation-in-2019/ http://clagnut.com/blog/2395/

It still has some support issues, as Chrome for windows and Linux don't support it (for example, try the Clagnut website on Firefox, it uses hyphenation). But it is supported for mobile devices.

So do you think there is anything to be reconsidered in this matter with recent browser development?

educkf commented 4 years ago

Well, I just saw I referenced you to your own article on clagnut.com. well, then you already know if it is worth to update theis section of the book :)

clagnut commented 4 years ago

While there is support for hyphenation, and you can choose to turn it on as I do on my blog, the point I make here about justified text still stands. The hyphenation algorithms are so basic that fully justified text is still a mess. (On my blog I hyphenate but left-align my body text).