Knuth-Plass Justified Text for the Web

Combining @chenglou/pretext (accurate canvas text measurement) with tex-linebreak (optimal Knuth-Plass line breaking) to achieve InDesign-quality paragraph justification in the browser.

54
Knuth-Plass tex-linebreak + pretext
Key levers
Min 85% Max 130%
Min -3% Max 3%
Min -2% Max 2%
The Crystal Goblet
Beatrice Warde, 1932
CSS Browser default
Settings
The Crystal Goblet
Beatrice Warde, 1932