Skip to content

Commit

Permalink
Update docs/basic-features/font-optimization.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
MaedahBatool and leerob committed Jan 31, 2022
1 parent f915d6d commit 0703df9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/basic-features/font-optimization.md
Expand Up @@ -78,10 +78,7 @@ Automatic Webfont Optimization currently supports Google Fonts and Typekit with
See [Google Font Display](https://nextjs.org/docs/messages/google-font-display) for more information.
> **Note**: If you want to download and self-host a font file, then our Font Optimization will not work. This is by design!
>
> To benefit from font optimization, it's recommended to include the link of the font file in the `Head` component and fetch it from a CDN like Google Fonts.
> **Note**: Font Optimization does not currently support self-hosted fonts.
## Disabling Optimization
If you do not want Next.js to optimize your fonts, you can opt-out.
Expand Down

0 comments on commit 0703df9

Please sign in to comment.