NewsLab
Jun 28 17:21 UTC

Show HN: QR code renderer in a TrueType font (qr.jim.sh)

4 points|by foodevl||2 comments|Read full story on qr.jim.sh
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 (2)

2 shown
  1. 1. foodevl||context
    1bpp's comment suggesting this yesterday: https://news.ycombinator.com/item?id=48682460
  2. 2. WenboS||context
    This is absolute black magic. I never realized OpenType rules were powerful enough to render something as complex as a QR matrix inline.