Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: