Jim's TrueType QR Code Font

(github.com)

106 points | by arantius 5 hours ago

9 comments

  • jhogervorst 28 minutes ago
    A fun benefit seems to be that you can select the QR code as text and copy it, which puts the original text in your clipboard.
  • athenot 3 hours 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 3 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 1 hour ago
      The page addresses this issue, saying that browser text wrapping can cause issues and gives advice on how to deal with it.
      • jrmg 1 hour 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!).

  • andonumb 32 minutes ago
    Great idea, but it's a shame that it only supports Basic Latin (English-only).
  • trillic 2 hours ago
    Font rendering should scare you
  • andix 3 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 1 hour 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?

      • andix 26 minutes ago
        I probably didn’t read it. But I also had to read it twice to understand what it meant.

        I’m still not sure if this is the mentioned issue or a different one.

  • ChrisArchitect 5 hours ago
  • zb3 1 hour 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..
    • altairprime 13 minutes ago
      That’s a common downside of HN: submitters often link the GitHub repository rather than the project’s explanation. The article’s had the project link added at the top (just below the GitHub link) and it has a much clearer story.
  • LoganDark 3 hours ago
    Spaces are definitely broken in Safari.