frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: QR code renderer in a TrueType font

https://qr.jim.sh/
43•foodevl•3d ago
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).

Comments

foodevl•3d ago
1bpp's comment suggesting this yesterday: https://news.ycombinator.com/item?id=48682460
WenboS•3d ago
This is absolute black magic. I never realized OpenType rules were powerful enough to render something as complex as a QR matrix inline.
giraffe_lady•52m ago
Font shaping rules are actually turing complete. An incredible amount of engineering effort has gone into this not being a total disaster everywhere at all times.
layer8•46m ago
It’s basically Turing-complete: https://simoncozens.github.io/fonts-and-layout/features.html

Once something is Turing-complete, the magic turns from black to white. ;)

bigboss2700•2d ago
That's a wonderfully cursed idea.
1bpp•2d ago
This is terrifying, great job!
red_hare•1h ago
Wow. This is so freaking cool.
lifthrasiir•1h ago
See https://github.com/jimparis/qr-font/blob/master/design.md for the actual design. As who have written a QR code encoder library... I'm in shock and awe.
layer8•1h ago
Side question: Why is nobody making QR codes on web pages clickable (regardless if it’s an image or text-based)? Not every QR code represents a URL, of course, but many do. Maybe there should be a qrcode URL scheme that lets browsers behave the same way as a camera scanning a QR code.
magnat•37m ago
Selecting parts of the code (in F7 mode or with SHIFT-LEFT/RIGHT) highlights which individual pixels corresponds to the actual letters.

ZCode: Claude Code from the Makers of GLM

https://zcode.z.ai/cn
73•handfuloflight•42m ago•10 comments

For first time, a cell built from scratch grows and divides

https://www.quantamagazine.org/for-the-first-time-a-cell-built-from-scratch-grows-and-divides-202...
539•defrost•5h ago•181 comments

What to Learn to Be a Graphics Programmer

https://blog.demofox.org/2026/07/01/what-to-learn-to-be-a-graphics-programmer/
96•atan2•2h ago•36 comments

FFmpeg 9.1's new AAC encoder

https://hydrogenaudio.org/index.php/topic,129691.0.html
145•ledoge•5h ago•59 comments

Physical disc production ending in Jan 2028 for new games on PlayStation

https://blog.playstation.com/2026/07/01/physical-disc-production-ending-in-january-2028-for-new-g...
398•Tiberium•7h ago•467 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
105•dennis-tra•4h ago•27 comments

Box3D, an open source 3D physics engine

https://box2d.org/posts/2026/06/announcing-box3d/
316•makepanic•7h ago•68 comments

Ask HN: Who is hiring? (July 2026)

104•whoishiring•4h ago•117 comments

Fable 5 Is Back

https://twitter.com/claudeai/status/2072402636813607381
60•mfiguiere•17m ago•17 comments

Monetization Gateway

https://blog.cloudflare.com/monetization-gateway/
176•soheilpro•5h ago•100 comments

Internal Combustion Engine

https://ciechanow.ski/internal-combustion-engine/
193•StefanBatory•6h ago•36 comments

Ask HN: Who wants to be hired? (July 2026)

73•whoishiring•4h ago•168 comments

Weave Robotics launches Isaac 1, a $7,999 home robot with fall 2026 deliveries

https://runtimewire.com/article/weave-robotics-isaac-1-home-robot-launch
12•ryanmerket•1h ago•20 comments

Understanding the Linux Kernel: The Scheduler

https://internals-for-interns.com/posts/linux-kernel-scheduler/
14•valyala•4d ago•3 comments

Building Gin: Simple over Easy

https://manualmeida.dev/articles/gin-simple-over-easy/
41•manucorporat•2h ago•12 comments

Mortality associated with non-optimal ambient temperatures from 2000 to 2019

https://www.researchgate.net/publication/353058947_Global_regional_and_national_burden_of_mortali...
15•simonebrunozzi•2h ago•0 comments

Hanami 3.0: In Full Bloom

https://hanakai.org/blog/2026/06/30/hanami-3-0-in-full-bloom
29•PuercoPop•2h ago•4 comments

Show HN: Z-Jail – A 130 KB Linux sandbox-C99 with 7 defense layers and zero deps

https://github.com/Division-36/Z-Jail/
6•Zierax•35m ago•0 comments

Manufact (YC S25) Is Hiring a Developer Advocate in SF

https://www.ycombinator.com/companies/manufact/jobs/4cyWd6S-developer-advocate-partnerships-devrel
1•luigipederzani•6h ago

A complete ClickHouse OLAP engine, compiled to WebAssembly

https://wasm.chdb.io/
22•porridgeraisin•2h ago•2 comments

Launch HN: Parsewise (YC P25) – Reason Across Documents with an API

39•gergelycsegzi•6h ago•35 comments

1-Bit Pixel Art Emojis

https://hypertalking.com/2023/05/15/1-bit-pixel-art-emojis/
92•surprisetalk•6d ago•14 comments

Fixing a kubelet memory leak in Kubernetes 1.36

https://heyoncall.com/blog/fixing-kubernetes-kubelet-memory-leak
50•compumike•17h ago•11 comments

Sony Deletes 551 Movies PlayStation Owners Paid For

https://reclaimthenet.org/sony-deletes-551-studiocanal-movies-playstation-owners-paid-for
344•bilsbie•5h ago•169 comments

Reduce GVisor Cold Starts with GPU Snapshotting

https://cerebrium.ai/blog/reducing-gpu-cold-starts-with-memory-snapshots-restoring-cuda-workloads...
39•jono_irwin•3h ago•14 comments

Asahi Linux 7.1 Progress Report

https://asahilinux.org/2026/06/progress-report-7-1/
485•pantalaimon•9h ago•172 comments

Apple 'Hide My Email' vulnerability reveals peoples' real email addresses

https://easyoptouts.com/guides/apple-hide-my-email-is-leaking-email-addresses
172•sashk•9h ago•33 comments

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
225•chimpanzee•2d ago•58 comments

Nintendo has raised its employees base salary by 10%

https://mynintendonews.com/2026/06/26/nintendo-has-raised-its-employees-base-salary-by-10/
452•_tk_•8h ago•274 comments

Red Programming Language: Static linking support

https://www.red-lang.org/2026/06/static-linking-support.html
62•em-bee•1d ago•10 comments