Justif
publication-grade text justification for the web
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I've long been a fan of justified text. I think it looks clean and elegant. But I've always been disappointed by how browsers render it, with gaping spaces that distract me to the point of making the text near unreadable.Browsers have got better recently at handling justified text [0], but still are not near that TeX/InDesign level of quality that I crave.Inspired by running headfirst into disappointment with how text justification looked on a recent project site of mine, and by Oskar Wickström's "Proportional Web" [1], I decided to make a drop in js library that justifies text at least as well as TeX can, all with a single <script> import.Justif also has the benefit of providing consistent text layout across browsers. Blink (Chrome), Gecko (Firefox) and WebKit (Safari) all justify text differently, so normally what the user sees depends on what browser they use.Take a look at the demo, play around with it, try some different browsers. Constructive feedback is always welcome.0: https://cloudfour.com/thinks/justified-text-better-than-expe...1: https://owickstrom.github.io/the-proportional-web/
HN · launched Jul 17, 2026 · 5 upvotes (top 89%) · 0 views
Niche: typography and font tools · 123 launches, 7 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 123 launches in typography and font tools →
Could you build this?
No Knuth-Plass dynamic programming line breaking, hyphenation, and microtypographic adjustments across diverse fonts in web browsers require specialized algorithmic typography expertise.
What it would actually take: Building this requires implementing the Knuth-Plass dynamic programming algorithm in JS/Wasm, Liang's hyphenation pattern dictionary, and sub-pixel glyph advance calculation. It must hook cleanly into CSS styles, handle dynamic DOM resize events via ResizeObserver without layout thrashing, and alter letter-spacing and word-spacing at the line level. This demands specialized domain knowledge in font file formats, HarfBuzz-style shaping/metrics, and advanced browser layout mechanics.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one : 136 launches clear the similarity bar, closest 8 shown.
Attention rank: #131 of 137 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 259 days after the earliest competitor.
- One clean, developer-focused page for every Unicode symbol · hn · 2025-12-25 · 198 upvotes · similarity 0.46
- JustHTML · hn · 2025-12-02 · 6 upvotes · similarity 0.46
- Text Compare · ph · 2026-09-11 · 2 upvotes · similarity 0.44
- I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs · hn · 2026-03-01 · 78 upvotes · similarity 0.43
- React hooks that predict text height before render, using font metrics · hn · 2026-04-04 · 8 upvotes · similarity 0.41
- Writemark, a dependency free web component for inline Markdown editing · hn · 2026-07-25 · 53 upvotes · similarity 0.40
- TextCompareLab · ph · 2026-10-21 · 2 upvotes · similarity 0.40
- Folio · ph · 2026-11-10 · 1 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.