|
|
|
|
|
by duskwuff
644 days ago
|
|
> An icon font ligature is just an entry in the font file that says to display a particular sequence of characters as a single glyph. Most icon fonts use private-use codepoints, not ligatures. These codepoints have no standard glyph, so disabling site-specific fonts will make those characters fail to render at all or display placeholder characters (e.g. �). Thankfully, icon fonts are declining rapidly in usage - SVG icons are superior for most use cases. > A few ligatures do have their own unicode code points, e.g. ffi, so the browser knows what is intended. The precomposed ligature codepoints (e.g. U+FB00-FB06) only exist for compatibility with legacy encodings which included similar characters. They shouldn't be used in new documents. If you want text on a web page to use ligatures, use the CSS font-variant-ligatures property to control which ones are used. (And make sure to disable them on monospaced text!) |
|
It does add a bit of performance gain not loading the fonts, and it may be a small security improvement, but if the goal was usability/readability that seems like a huge miss.