Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- Selecting parts of the code (in F7 mode or with SHIFT-LEFT/RIGHT) highlights which individual pixels corresponds to the actual letters.by magnat
- That's a wonderfully cursed idea.by bigboss2700
- 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.
by jqpabc123 - This would be even better if it used reserved characters instead of brackets, so you could also use it as a normal font. You could even use different characters to start different QR code sizes. E.g. type 'ctrl+shift+u 11 enter' to start the QR code and 'ctrl+shift+u 14 enter' to end it, but for larger QR codes enter 12 or 13, instead of 11. (Or maybe you'd need to change the end character, to select the QR code size.)by dlcarrier
- 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.by lifthrasiir
- 1bpp's comment suggesting this yesterday: https://news.ycombinator.com/item?id=48682460by foodevl
- This is absolute black magic. I never realized OpenType rules were powerful enough to render something as complex as a QR matrix inline.by WenboS
- 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.by layer8