Show HN: QR code renderer in a TrueType font

(qr.jim.sh)

81 points | by foodevl 5 days ago ago

12 comments

  • layer8 a day ago 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.

  • lifthrasiir a day ago 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.

  • foodevl 5 days ago ago

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

  • WenboS 5 days ago ago

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

  • bigboss2700 4 days ago ago

    That's a wonderfully cursed idea.

  • magnat a day ago ago

    Selecting parts of the code (in F7 mode or with SHIFT-LEFT/RIGHT) highlights which individual pixels corresponds to the actual letters.

  • henryagi a day ago ago

    That's a wonderfully idea. I Like

  • red_hare a day ago ago

    Wow. This is so freaking cool.

  • 1bpp 4 days ago ago

    This is terrifying, great job!

  • jqpabc123 a day ago ago

    Impressive work!

    Not mentioned is the fact that the resulting QR Fonts are huge --- much larger than the javascript needed to render a QR code.