Variable Font Debugger | Daniel Saewitz

2 min read Original article ↗

Upload Font

Current: Roboto Flex (Default) (792.0 KB)

Variable Font Axes

Global axes that apply to all text types

Typography Metrics

Real font metrics from font file

Hpxgk

Baseline (0)Ascender (1900)Cap Height (1456)X-Height (1052)Descender (-500)

Display / Headings

Large text for headlines

Making Headlines That Matter

Labels / Buttons

Small text for UI elements

Body / Paragraphs

Regular text for reading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

CSS Output

Ready-to-use CSS for each text type

Display Styles

.display {
  font-family: "var(--font-roboto)";
  font-size: 72px;
  letter-spacing: -0.020em;
  line-height: 1.1;
  font-variation-settings: "opsz" 14, "wght" 400, "GRAD" 0, "wdth" 100, "slnt" 0, "XOPQ" 96, "YOPQ" 79, "XTRA" 468, "YTUC" 712, "YTLC" 514, "YTAS" 750, "YTDE" -203, "YTFI" 738;
}

Label Styles

.label {
  font-family: "var(--font-roboto)";
  font-size: 14px;
  letter-spacing: 0.080em;
  line-height: 1;
  font-variation-settings: "opsz" 14, "wght" 400, "GRAD" 0, "wdth" 100, "slnt" 0, "XOPQ" 96, "YOPQ" 79, "XTRA" 468, "YTUC" 712, "YTLC" 514, "YTAS" 750, "YTDE" -203, "YTFI" 738;
}

Body Styles

.body {
  font-family: "var(--font-roboto)";
  font-size: 16px;
  letter-spacing: 0.000em;
  line-height: 1.6;
  font-variation-settings: "opsz" 14, "wght" 400, "GRAD" 0, "wdth" 100, "slnt" 0, "XOPQ" 96, "YOPQ" 79, "XTRA" 468, "YTUC" 712, "YTLC" 514, "YTAS" 750, "YTDE" -203, "YTFI" 738;
}