3 ms·
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..
by zb3 3mo 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 3mo agoThat’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.
- karunamurti 3mo agoOpenType specification is Turing complete, its hinting engine does math during rasterization and its GSUB (Glyph Substitution, a layout and shaping engine) does glyph stacking, QR code correction, etc to finalize the QR. The nice thing about it is if you copy and paste it, it goes to the original text.
- foodevl 3mo agoSome details of how it works are in https://github.com/jimparis/qr-font/blob/master/design.md https://github.com/jimparis/qr-font/blob/master/design.md Fair warning though: this was designed and implemented by an LLM, as an experiment to see if it was possible. I only guided it to a working solution by pointing out problems, and never dug deeply into its inner workings.