google / google/fonts

Inter fonts / slashed-zero

Open
#3,522 7 comments 7 reactions 0 assignees View on GitHub
I Font Bug z_Inter
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Is there a recommended way to consume Inter which might enable the use of `font-variant-numeric: slashed-zero` ?

Current usage here is like:
"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;700&display=swap"

Testing with this CSS on the preview page and it does not seem to respect the `zero` OpenType font feature mentioned on the [Inter demo page](https://rsms.me/inter/):
https://fonts.google.com/specimen/Inter?query=inter&preview.text=%E0%B8%BF1,047&preview.text_type=custom#standard-styles

Loading the font directly from Inter's demo page adds the slashed-zero though.
"https://rsms.me/inter/font-files/Inter.var.woff2?v=3.18"

And ideas here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.