well, you didn't really do anything, did you? Claude Code rendered these things and wrote the blog post haha > "This is not theoretical. It is a measured property of the font files shipping on every Mac." some patterns of speech are so recognizably LLM, i am convinced that the AI detection startups have a very strong chance to succeed on text.
I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
51–60 of 60 posts
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#52About 20 years ago I used Cyrillic confusables to watermark internal documentation that was being leaked by a disgruntled customer service employee. The document would dynamically render and include the employee ID based encoded as bits in the text. It survived copy/paste to plain text well. I did run into some issues in early versions on when characters in Linux commands or visible web addresses were replaced. Fortu…
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#53Like even if the two characters look quite different, if they both look like the same letter in different fonts that is a problem. It doesn't mattter if you can tell the difference between the glyphs in a side by side comparision. What matters is what letter the user interprets the glyph as.
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#54I would recommend template matching using normalized cross-correlation (TM_CCOEFF_NORMED in opencv.)
Also this paper from Nvidia critically scrutinizing SSIM may be relevant: https://research.nvidia.com/publication/2020-07_Understandin...
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#55Hmm, is SSIM a good metric for comparing fonts? I'd imagine it isn't ideal, as fonts are mostly textureless and SSIM has no concept of glyph identity or typographic intent.
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#56I think we'll have to start configuring our client tools (e.g. browser, email client, etc) to render domain names with annotations for different character classes. E.g. our native character set is a standard color (blue/black) and then other character sets would have to stand out (purple background?).
it also defaults to not loading HTML in emails, which i love. really opened my eyes to how dumb it really is to just accept all kinds of dynamic content in unknown messages. (kinda same as how the modern web relies on remote code execution to work)
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#57Thanks for the effort! I'm always intrigued by the German FE-Schrift ("fälschungserschwerende Schrift", "more-difficult-to-forge font") chooses shapes for characters that makes it hard for them to be turned into one another (like a 3 into an 8 or so): https://en.wikipedia.org/wiki/FE-Schrift
As a youth in the DOS era, I was always enamored of fonts like OCR-A, there is some overlap between the problems of "make it easy to distinguish" and "make it hard to maliciously corrupt", although I can imagine some cases where they might be in conflict, especially if adding ink is asymmetrically easier than removing or covering it. https://en.wikipedia.org/wiki/OCR-A
https://en.wikipedia.org/wiki/Chinese_numerals#Financial_num...
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#58Maybe not at super large font sizes. But even lowercase i and l are easy enough to confuse at a glance mid-word in most sans-serif fonts, not to mention uppercase I and lowercase l. You don’t even need “confusable” glyphs to create a domain name that will stand up to a casual visual confirmation from a busy user in a phishing context.
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#59Maybe not at super large font sizes. But even lowercase i and l are easy enough to confuse at a glance mid-word in most sans-serif fonts, not to mention uppercase I and lowercase l. You don’t even need “confusable” glyphs to create a domain name that will stand up to a casual visual confirmation from a busy user in a phishing context.
Every Albert, Alfred, or Alphonso who goes by “Al” getting confused with bots right now…
Re: I rendered 1,418 confusables over 230 fonts. Most aren't confusable to the eye
#60Maybe not at super large font sizes. But even lowercase i and l are easy enough to confuse at a glance mid-word in most sans-serif fonts, not to mention uppercase I and lowercase l. You don’t even need “confusable” glyphs to create a domain name that will stand up to a casual visual confirmation from a busy user in a phishing context.
I recently spent way too much time on a bug that only showed up in a large data set. (Turned out a walker had a problem with certain leaf patterns.) Put a trap on a string that looked unique--even after I had actually found the problem and fixed it it still couldn't find the offending text. Sans serif, l vs I.