5 ms·
That's a rather large font though, and no use of hyphenation. Here is the Encyclopædia Britannica for comparison: http://i.imgur.com/qXGfGWa.jpg http://i.imgur
by rndn 11y ago
That's a rather large font though, and no use of hyphenation. Here is the Encyclopædia Britannica for comparison:
http://i.imgur.com/qXGfGWa.jpg http://i.imgur.com/qXGfGWa.jpg
http://i.imgur.com/obu7D8e.jpg http://i.imgur.com/obu7D8e.jpg
- pimlottc 11y agoFor the love of god, man, justify that text!
- sp332 11y agoWith columns that narrow, it will still look like crap without hyphenation.
- jimktrains2 11y agoI never understood how word processors and web browsers are so incapable of of doing hyphenation. The Knuth algorithm is great and open. It requires a bit more computing power, but I'd rather my computer be doing that then implementing some crappy transition.
- agumonkey 11y agoOh how I'd be happy using a bit more cpu time for that instead of other css3 acrobatics.
- sp332 11y agoI don't think word processors are bad at hyphenation recently. They do optimize for fewest lines instead of least raggedness though. And Knuth's algorithm takes O(n^2) time which could get significant with long documents and seems like overkill to recompute for every keystroke. I guess it could be computed once when saving or printing though.
- jimktrains2 11y agoIt's only O(n^2) for each paragraph, isn't it? A "Rejustify" button that would recompute the proper justification is an interesting idea.
- sp332 11y agon is the number of words, according to Wikipedia. https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimum_raggedness https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimu...
- jimktrains2 11y agoThat's what I meant, it's O(n^2) for the words per paragraph I thought, not the entire document.
- sp332 11y agoOh right... yeah I guess that's true.
- vmorgulis 11y agoCSS supports that: https://developer.mozilla.org/en/docs/Web/CSS/hyphens https://developer.mozilla.org/en/docs/Web/CSS/hyphens Just add a special dash character to specify the cut (U+2010).
- jimktrains2 11y agoThat's nice, but why can't it simply do what latex does and figure it out so that it looks beautiful without me having to manually edit every word I want to publish in a way I would never have to anywhere else?
- pervycreeper 11y agoI imagine that is due to the large number of lists and short lines in Wikipedia.