google / fonts

Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
https://fonts.google.com
17.9k stars 2.6k forks source link

Fonts are not loading. #2966

Open M0hammedImran opened 3 years ago

M0hammedImran commented 3 years ago

I'm not Manjaro. but this problem happened on ubuntu as well. I'm not sure if this problem is related to OS or just the API has changed. I'm using this link to load fonts into my project. https://fonts.googleapis.com/css2?family=Be+Vietnam:ital,wght@0,400;0,700;1,400&family=Playfair+Display&display=swap

I get this error when I start my project. Screenshot from 2021-01-20 13-44-47

And when I visit fonts.google.com No fonts are being shown. Screenshot from 2021-01-20 13-53-59

I suspected the AdBlock extension so tried to open the project in incognito. But same result.

When I try to visit https://fonts.googleapis.com/css2?family=Be+Vietnam:ital,wght@0,400;0,700;1,400&family=Playfair+Display&display=swap I see this every time. Screenshot from 2021-01-20 13-56-39

jeromeip commented 3 years ago

Hi, I'm not reproducing your issue. Browser: firefox. Result: expected data

/* vietnamese */
@font-face {
  font-family: 'Be Vietnam';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bevietnam/v2/FBVxdDflz-iPfoPuIC2iIqMX5WdgG2c.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bevietnam/v2/FBVxdDflz-iPfoPuIC2iIqMX5GdgG2c.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam';
  font-style: italic;
(...)

You may consider a network issue on your side, or a temporary failure of Google server.