5 ms·
Completely off-topic, but if the author happens to be here: What is the system you are using to justify text? The "hanging" parenthesis on "(Understand that wh
by grncdr 3y ago
Completely off-topic, but if the author happens to be here:
What is the system you are using to justify text? The "hanging" parenthesis on "(Understand that what I'm about to describe, ..." caught my eye, and it appears that every _line_ of text has it's own padding and word spacing to arrange it "just so". I can't imagine it was done by hand, but I've never seen it before.
- Q6T46nT668w6i3m 3y agoI didn’t look at the code but it looks like they are using the Knuth-Plass algorithm.
- zauguin 3y agoThe site uses [unjustifiable] together with [Hypher]. [unjustifiable]: https://www.npmjs.com/package/unjustifiable?activeTab=readme https://www.npmjs.com/package/unjustifiable?activeTab=readme [Hypher]: https://github.com/bramstein/hypher https://github.com/bramstein/hypher
- diiq 3y agoAuthor here! As noted in another reply, I'm using a custom justification tool I built almost a decade ago called unjustifiable. The way it goes about it very silly; you can read more about it at https://sambleckley.com/writing/text-justification.html https://sambleckley.com/writing/text-justification.html