Hacker News new | ask | show | jobs
by andrepd 2253 days ago
Skimming the examples the typographical quality is that of a webpage (which is to be expected), miles below TeX-quality typesetting.
1 comments

I think it really depends on the font you use and the CSS rules you apply. LaTeX needs tweaking, too, even with a good template.

E.g., if your font supports it, you can enable ligatures:

    text-rendering: optimizeLegibility;
Ligatures don't make good typesetting. In fact, I'd expect a text to have enabled ligatures by default, that's not something to be proud of in any way.

Typesetting is about how the words are placed in the given space, how they're broken up, how the spacing is done to not line up between lines, managing punctuation, figures etc etc. Browsers do none of that, and one shouldn't expect them to, because that's not their job. A browsers job is to present content fast, not to figure out how to do it as beautiful as possible for minutes at a time, that's what TeX is for. TeX and a browsers rendering engine are different tools for different jobs and thinking one could achieve the same result as the other is not realistic in the current time.