QR code renderer in a TrueType font
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.
In the "Libre Barcode Project" discussion yesterday, 1bpp asked: "Is anyone willing to sacrifice their sanity for the sake of implementing a QR renderer as TTF hinting code?"Yes. I had some tokens to burn and was curious... turns out, it's possible. This was put together by a mix of Gemini, GPT, and Claude (depending on which usage limits kept running out).
HN · launched Jun 28, 2026 · 118 upvotes (top 7%) · 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 Implementing a full QR code generation engine inside a TrueType font's hinting bytecode (assembly executed by the rasterizer) is an extreme, highly specialized low-level bytecode hack.
What it would actually take: This requires programming directly in TrueType bytecode instructions (TTF hinting language) to perform bit manipulation, Reed-Solomon error correction, and pixel positioning during font rasterization. Tools involve specialized TrueType table editors (FontTools/ttx) and intimate knowledge of font engine virtual machines (FreeType, Windows DirectWrite). This is an esoteric systems feat requiring rare expertise in vector font VMs and specification-level typography bytecode.
Discussion
18 comments analyzed.
Competitors mentioned: JavaScript QR code renderers, Browser/OS screenshot scanning interfaces
Concerns raised: Security risk from Turing-complete font rendering (remote execution vulnerabilities), File size much larger than JavaScript alternatives, Font rendering complexity creates CVE surface (legacy of Type 1 fonts), Kernel-level font rendering vulnerabilities on Windows
Feature requests: Use reserved characters instead of brackets for QR encoding, Different control sequences to specify QR code sizes, Make QR codes on web pages clickable with URL scheme support, Browser/OS native on-screen QR code scanning interface
Competitors
Other products that read as similar to this one : 178 launches clear the similarity bar, closest 8 shown.
Attention rank: #9 of 179 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 233 days after the earliest competitor.
- TTF-DOOM · hn · 2026-04-06 · 68 upvotes · similarity 0.57
- QR Code Generator · ph · 2026-10-13 · 1 upvotes · similarity 0.46
- QR3D Craft · ph · 2026-11-11 · 1 upvotes · similarity 0.46
- QR Code & Barcode Studio · ph · 2026-10-16 · 1 upvotes · similarity 0.46
- A font that auto-translates Chinese · hn · 2026-04-19 · 5 upvotes · similarity 0.43
- RahaLune QR Studio · ph · 2026-09-25 · 1 upvotes · similarity 0.43
- Scanou · ph · 2026-09-22 · 1 upvotes · similarity 0.41
- MyLogoQR · ph · 2026-11-01 · 1 upvotes · similarity 0.41
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.