Open mofojed opened 6 years ago
We subset out OpenType features to improve latency. For now, self hosting or using another font CDN is the only way to use discretionary OpenType features.
Should we close, @davelab6 ?
Why not allow us to include them with some kind of options? Say https://fonts.googleapis.com/css?family=Montserrat:300,400,500&display=swap&settings=tnum
.
When Fira Sans font is included in a page using the CDN link, the
font-feature-settings: "tnum"
CSS property doesn't work.Oddly enough, if I download the Fira Sans font from Google's site and install it locally, the feature setting works: https://fonts.google.com/specimen/Fira+Sans?selection.family=Fira+Sans It also works if I link the font from Mozilla's CDN.
It's only when I link to Google's CDN and don't have the font installed locally. I've made a plnkr to demonstrate the issue: https://plnkr.co/edit/SnSm7siVrk5AiQq9NDUK?p=preview