chenglou/pretext
Fast, accurate & comprehensive text measurement & layout
397 best points · 70 comments · 3 Hacker News posts · 50,996 GitHub stars · View on GitHub
Hacker News discussions
- Pretext: TypeScript library for multiline text measurement and layout (397 points, 69 comments, by emersonmacro, 2026-03-28)
- Pretext: JavaScript/TypeScript library for multiline text measurement and layout (6 points, 0 comments, by davidbarker, 2026-03-28)
- Pretext (3 points, 1 comments, by taf2, 2026-03-29)