Skip to content
master
Switch branches/tags
Code

Latest commit

- fixed Lato font
- fixed Manrope font
- fixed Merriweather font
- fixed Space Mono font
- added `list.html` for viewing all fonts, weights, and styles
104aee7 2

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jun 25, 2020
Jun 7, 2020
Jun 7, 2020
Jun 25, 2020
Jun 25, 2020

xz/fonts

A fast, open-source CDN for open-source fonts.

xz/fonts is a free and open source service for delivering font families to websites using CSS.

Typically, web developers use custom fonts on their websites using one of two methods:

  • hosting font files on the same server as the website
  • using a central font service, such as Google Fonts or Adobe Typekit

xz/fonts, by comparison:

  • serves font files through jsDelivr's global content delivery network
  • is fully open source and only serves open source fonts

For the font Inter, it's as easy as adding this to your CSS:

@import url('https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/inter.css');

or this to your HTML's <head>:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/inter.css">

Usage

Visit the documentation at docs.xz.style/fonts for an easy step-by-step guide.

Having trouble?

Don't worry! Open an issue here. I'll gladly help you out.

Special Thanks

❤️ to transfonter.org for providing a fast and reliable service for converting .ttf font files to multiple web formats. If you love what they do, consider donating to them! I'm not affiliated in any way, just love the service.


Powered by Vercel