3 ms·
“No web fonts for elements containing multiple characters” would be a great ublock rule, now I think about it...
by danielheath 6y ago
“No web fonts for elements containing multiple characters” would be a great ublock rule, now I think about it...
- jfk13 6y agoThat'd break sites that use ligature-based icon fonts, with the actual content being an icon identifier like "thumbs-up" and an OpenType ligature rule in the font to render this as an icon glyph.
- folmar 6y agoCould you just get the icon name in that case? For me it would be good-enough, or, in many cases, better than the crammed design-first icons (Slack, I'm pointing at you!).
- jfk13 6y agoIn theory, it's legible; but often, rendering the icon name (which may be up to a dozen letters or so) will totally break a layout that was designed to accommodate a single glyph.
- danielheath 6y agoAhh good point. Not sure if I have seen one of those used before; they seem to have a good fallback though.