Re:Self-host your fonts for better performance
by danielheath on Friday December 04, 2020 @06:23AM
(#25301166)
“No web fonts for elements containing multiple characters” would be a great ublock rule, now I think about it...
[ Parent
| on HN ]
Re:Self-host your fonts for better performance
by jfk13 on Friday December 04, 2020 @09:40AM
(#25302665)
That'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.
Re:Self-host your fonts for better performance
by folmar on Friday December 04, 2020 @11:31AM
(#25304212)
Could 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!).
Re:Self-host your fonts for better performance
by jfk13 on Friday December 04, 2020 @04:37PM
(#25308423)
In 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.
Re:Self-host your fonts for better performance
by danielheath on Friday December 04, 2020 @08:56PM
(#25310891)
Ahh good point. Not sure if I have seen one of those used before; they seem to have a good fallback though.