Hacker News

Show HN: QR code renderer in a TrueType font

12 points by foodevl ago | 3 comments
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).

bigboss2700 |next [-]

That's a wonderfully cursed idea.

WenboS |next |previous [-]

This is absolute black magic. I never realized OpenType rules were powerful enough to render something as complex as a QR matrix inline.

foodevl |previous [-]

1bpp's comment suggesting this yesterday: https://news.ycombinator.com/item?id=48682460