Join Nostr
2026-03-29 23:32:13 UTC

Wei on Nostr: From @s3ththompson@x.com: “ "swiss-style" / flattersatz ragged text on the web... ...

From @s3ththompson@x.com:
“
"swiss-style" / flattersatz ragged text on the web...

pretext makes it easy to explore different tradeoffs / constraints around tracking / word spacing / glyph sizing

https://seththompson.com/labs/flattersatz/
”

Pretext is a recently released TypeScript library for multiline text measurement and layout that bypasses DOM measurements:
https://github.com/chenglou/pretext