Jim's TrueType QR Code Font

(github.com)

90 points | by arantius 4 hours ago

7 comments

  • athenot 1 hour ago
    Maybe it's not practical for day-to-day use but the way this hacks the font to produce something completely different is amazing!
  • shreddit 2 hours ago
    It doesn’t seem to like spaces that much, the code for [QR coded] is broken for me on safari ios. When the space is removed it’s a working qrcode again
    • diroussel 25 minutes ago
      The page addresses this issue, saying that browser text wrapping can cause issues and gives advice on how to deal with it.
      • jrmg 2 minutes ago
        I think this is a different problem.

        The page says that “browsers may split a QR code across lines” - but this isn’t split across lines.

        Experimenting, if I just type "[Q R]" (very short, so not likely to line-break), the problem still occurs.

        If I inspect the element, and add `white-space: nowrap;` to its style, the problem still occurs (although the text doesn’t wrap!).

  • trillic 56 minutes ago
    Font rendering should scare you
  • andix 2 hours ago
    Impressive, but on iOS 27 even one of the examples don't work. Seems like it has an issue with spaces. https://imgur.com/a/tZGqtjR
    • diroussel 24 minutes ago
      Did you read the explanation? It says right there on the page why it happens.

      Or was that text added since you viewed it?

  • zb3 40 minutes ago
    Unfortunately the most important thing here is missing - the whole explanation, like how did we get there, what those fonts can do and so on..
  • ChrisArchitect 4 hours ago
  • LoganDark 1 hour ago
    Spaces are definitely broken in Safari.