Roboto
Christian Robertson · 6 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=Roboto:wght@100;300;400;500&display=swap">
Self-host (Fontsource)
npm install @fontsource-variable/roboto
Stop layout shift (Arial fallback — 0.31% shift)
/* Measured line-box delta vs Arial: 0.31% */
@font-face {
font-family: "Roboto Fallback";
src: local("Arial");
size-adjust: 99.78%;
ascent-override: 92.98%;
descent-override: 24.47%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "Roboto", "Roboto Fallback", sans-serif; OpenType metrics, file sizes & official license
| Units per em | 2048 |
|---|---|
| x-height | 0.5283em (1082 units) |
| Cap height | 0.7109em |
| Avg char width | 0.4404em |
| Size ratio vs. Inter | 1.03× |
| Latin Regular (400) | 15.6 KB |
|---|---|
| Latin Bold (700) | 15.9 KB |
| Variable WOFF2 | 38.2 KB |
| Weights | 100, 300, 400, 500, 700, 900 |
| Scripts | cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext, vietnamese |
OFL-1.1 · Reserved Font Name: No — Licensed under SIL Open Font License 1.1 with no Reserved Font Name declared in OFL.txt. Free for commercial and non-commercial web use and embedding. Official license →