DM Sans
Colophon Foundry · 9 weights (variable) · Free (OFL-1.1)
ABCDEFGHIJKLMNOPQRSTUVWXYZ · abcdefghijklmnopqrstuvwxyz
The quick brown fox jumps over 13 lazy dogs — 0123456789.
Embed (Google Fonts)
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@100;200;300;400&display=swap">
Self-host (Fontsource)
npm install @fontsource-variable/dm-sans
Stop layout shift (Arial fallback — 0.49% shift)
/* Measured line-box delta vs Arial: 0.49% */
@font-face {
font-family: "DM Sans Fallback";
src: local("Arial");
size-adjust: 106.02%;
ascent-override: 93.56%;
descent-override: 29.24%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "DM Sans", "DM Sans Fallback", sans-serif; Pair DM Sans with…
OpenType metrics, file sizes & official license
| Units per em | 1000 |
|---|---|
| x-height | 0.518em (518 units) |
| Cap height | 0.7em |
| Avg char width | 0.468em |
| Size ratio vs. Inter | 1.05× |
| Latin Regular (400) | 13.7 KB |
|---|---|
| Latin Bold (700) | 14 KB |
| Variable WOFF2 | 33.4 KB |
| Weights | 100, 200, 300, 400, 500, 600, 700, 800, 900 |
| Scripts | latin, latin-ext |
OFL-1.1 · Reserved Font Name: Yes — Licensed under SIL Open Font License 1.1 with a Reserved Font Name ("DM Sans"). Free for commercial and non-commercial web use and embedding. Do not redistribute modified font binaries under the reserved name. Official license →