3 ms·
I noticed this page's text is rendered with nice fi and ffi ligatures. Yet, they are individual characters. How do you coax that out of a browser? I see the CSS
by kazinator 10y ago
I noticed this page's text is rendered with nice fi and ffi ligatures. Yet, they are individual characters. How do you coax that out of a browser? I see the CSS references a bunch of .woff files.
- acdanger 10y agoThere are CSS rules that control a typeface‘s ligatures for OTF fonts. https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-ligatures https://developer.mozilla.org/en-US/docs/Web/CSS/font-varian...
- samsolomon 10y agoAlso note that these additional ligatures are not always included in web fonts.
- kalleboo 10y agoThese are the CSS rules on his paragraph tags font-variant-ligatures: common-ligatures; font-variant-numeric: oldstyle-nums; font-feature-settings: "liga", "clig", "onum"