Hacker News new | ask | show | jobs
by arrrg 4877 days ago
InDesign already does this (as does quite a number of other software) and it works remarkably well. There is rarely a situation in which manual adjustment improves the typesetting and the automatic solution i definitely always good enough.

A manual solution is possible but not very practical, as was also mentioned in the article. Especially when the web design is responsive, such manual adjustments are problematic. But HTML is (luckily) also very flexible and neither font size nor the font are guaranteed to be constant, making a manual solution break horribly in e worst case.

CSS desperately needs feature parity with something like InDesign when it comes to typesetting. Adding stuff like this is obvious, something those working with layout programs had at their disposal for a long time.

1 comments

I do agree that typesetting in CSS is a bit lacking. We haven't really had any significant changes in this area since CSS 1.0 came out (with word-spacing and text-spacing). @font-face is great, but it's more about specifying the font to use instead of specifying the type layout.

It's also nice to see some constructive issues already being raised on the project. Whether or not the current implementation is perfect, it'd be really neat to have this type of functionality implemented in a CSS spec.