HarfBuzz Slug Support with WebGL
mcraiha
27 points
5 comments
April 03, 2026
Related Discussions
Found 5 related stories in 45.5ms across 3,471 title embeddings via pgvector HNSW
- Show HN: Ripl – A unified 2D/3D engine for Canvas, SVG, WebGPU, and the Terminal andrewcourtice · 15 pts · March 19, 2026 · 54% similar
- Show HN: 2.7KB Zig WASM – live globe showing executions at 300 CF edges wolfejam · 20 pts · March 29, 2026 · 51% similar
- Professional video editing, right in the browser with WebGPU and WASM mohebifar · 196 pts · March 21, 2026 · 49% similar
- Show HN: Horizon – GPU-accelerated infinite-canvas terminal in Rust petersunde · 60 pts · March 17, 2026 · 48% similar
- Browser-based SFX synthesizer using WASM/Zig galsjel · 29 pts · March 27, 2026 · 48% similar
Discussion Highlights (4 comments)
tikimcfee
Very cool. I've noticed slug popping up more often on HN and I've been thinking of finding a way to incorporate it into my project as well. Is this yours? What's your rendering system like - anything novel or fun you run into when working with text and GPU parallelism?
notachatbot123
HarfBuzz = text shaping engine, https://github.com/harfbuzz/harfbuzz Slug = Formely patented font rendering algorithm for GPUs, freed 2 weeks ago https://terathon.com/blog/decade-slug.html
jasonjmcghee
Note to author: the WebGL has great zoom settings, but WebGPU has different ones that feel very low-sensitivity (at least on trackpad on macos)
eviks
Are there good explanations/demos comparing this to msdf?