News for hackers. Stuff that matters.
Re:Prefer the British Style of Quotation Mark Punctuation ov... by currysausage on Wednesday September 15, 2021 @07:41AM (#28537823)
I believe that both TeX (Knuth-Plass Line Breaking Algorithm) and InDesign (paragraph composer – expired US Patent 6,510,441) do this, so there is at least one open-source implementation that could be used as a starting point. Unfortunately though, the awareness for good and bad typography seems to be so low that this is probably not a priority for browser and e-reader vendors. It would be wonderful to have this as part of WeasyPrint or something similar.
Re:Prefer the British Style of Quotation Mark Punctuation ov... by yannis on Wednesday September 15, 2021 @08:48AM (#28538417)
TeX doesn't do this automatically, but is rare to see "rivers" in TeX produced publications due to the superiority of its paragraph building algorithm.