mdn / mdn/content

Use shared assets for fonts instead of hot-linking Google Fonts

Open
#42,965 6 comments 0 reactions 0 assignees View on GitHub
Content:CSS goal: best practices
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-stretch

### What information was incorrect, unhelpful, or incomplete?

There are 10 cases where font files are directly hot-linked from Google Fonts servers. Since these URLs are not a part of the official API, they could disappear one day:

```
https://fonts.gstatic.com/s/[…].woff2
```

### What did you expect to see?

Needed fonts added and linked from [mdn/shared-assets](https://github.com/mdn/shared-assets/)

```
/shared-assets/fonts/[…].woff2
```

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.