Issue
The screenshot below is from my Gmail spam folder. Notice that some of the email from and subject lines look normal, while many of them appear to use some sort of serif font:
I'm a web developer, and from poking around, there's no CSS font declarations that are causing this to happen. The only hint is that the inspection panel for the "ZippyLoan ." sender shows that the fonts being used are not just Google's typical Roboto, but also "Cambria Math" (despite there being no corresponding "Cambria Math" CSS font declaration):
In fact, it seems that the font definition is somehow built-in to the text, since it even maintains the same appearance in plain-Jane Windows Notepad:
Actually, here, I think it works anywhere... play around with it yourself it you'd like:
𝒁𝒊𝒑𝒑𝒚𝑳𝒐𝒂𝒏 .
𝗜𝗻𝘁𝗿𝗼𝗱𝘂𝗰𝗶𝗻𝗴 𝗟𝗔𝗦𝗜𝗞 𝘀𝘁𝗮𝗿𝘁𝗶𝗻𝗴 𝗮𝘁 $𝟮𝟮𝟬 𝗽𝗲𝗿 𝗲𝘆𝗲!
❤️𝑾𝒆𝒍𝒄𝒐𝒎𝒆 𝒕𝒐 𝒂 𝑪𝒐𝒖𝒓𝒕𝒆𝒔𝒚 $50 𝑪𝑽𝑺/𝒑𝒉𝒂𝒓𝒎𝒂𝒄𝒚® 𝒄𝒉𝒂𝒓𝒈𝒆 𝒄𝒂𝒓𝒅 (𝒀𝒐𝒖𝒓 𝒑𝒓𝒆𝒇𝒆𝒓𝒓𝒆𝒅 𝒄𝒖𝒔𝒕𝒐𝒎𝒆𝒓 𝒏𝒖𝒎𝒃𝒆𝒓 𝒘𝒂𝒔 𝒔𝒆𝒍𝒆𝒄𝒕𝒆𝒅)
Whiskey Tango Foxtrot. O.o
Solution
It's not a different font - it's the same font, just using odd code points. For example, the 𝒁
in 𝒁𝒊𝒑𝒑𝒚𝑳𝒐𝒂𝒏
has a code point of 119937:
console.log('𝒁'.codePointAt());
which corresponds to:
𝒁 mathematical bold italic capital z 0352201 119937 0x1D481 𝒁
There are many such odd code points that can be used. It's not ASCII.
In contrast, the standard capital Z has a code point of 90:
console.log('Z'.charCodeAt());
Answered By - CertainPerformance
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.