News for hackers. Stuff that matters.
Re:The evolution of the web, and a eulogy for XHTML2 by combatentropy on Sunday October 27, 2019 @09:14PM (#21373571)
> Browsers still can't justify text properly. Even with hyphenation (which iirc is still a problem in Chrome), the greedy algorithm used for splitting text across lines still results in too much space between words when justified.

You might try:

  word-spacing: -0.1ex;
Good justification of text requires that sometimes the spacing between words is a little narrower than normal. Perhaps browsers are unwilling to do this unless you explicitly give them permission. But I wish they could just adopt a good text-flow algorithm like Adobe InDesign had.

But good justification also requires hyphenation. And last I looked, browser support was spotty. It did not work on Chromebooks, for example.

There are no comments on this comment yet.