Instead of using a remote Google Font CSS:
<link href="https://fonts.googleapis.com/css2?family=FontName&display=swap" rel="stylesheet">
I'd like to have everything locally. I remember that just downloading this CSS file and inserting it in my CSS is not ok because the CSS file will actually be different if you download it from a desktop, mobile, etc. It will adapt the font format on the browser (WOFF, TTF, etc.)
Question: what would be an equivalent of:
@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/merriweather/v28/u-440qyriQwlOrhSvowK_l5-fCZM.woff2) 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;
}
working on all browsers, with local storing of the font files?
Do we have to include woff2, ttf, etc. - in which order? What's the standard about this?