VF fonts are not delivered correctly for Firefox
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
VF fonts are not rendering correctly for Firefox. They render correctly when the user-agent is changed to Chrome.
It can be tested using official documentation at [https://developers.google.com/fonts/docs/css2](https://developers.google.com/fonts/docs/css2).
Rendering when user agent is left as default:

Rendering when user agent is spoofed to Chrome:

(force refresh (CTRL+F5) is required to reload the page)
Example (https://fonts.sandbox.google.com/css2?family=Crimson+Pro:wght@400..500&family=Literata):
The following is delivered (excerpt) when user-agent is Firefox
```
/* latin */
@font-face {
font-family: 'Crimson Pro';
font-style: normal;
font-weight: 400;
src: url( [redacted] ) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
font-family: 'Crimson Pro';
font-style: normal;
font-weight: 500;
src: url( [redacted] ) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
```
The following is delivered (excerpt) when user-agent is spoofed to Chrome:
```
/* latin */
@font-face {
font-family: 'Crimson Pro';
font-style: normal;
font-weight: 400 500;
src: url( [redacted] ) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.