What font metrics tell you
Every font file contains a set of internal measurements that tell the rendering engine how to lay it out: ascent (height above the baseline), descent (depth below), x-height (height of lowercase x), cap-height (height of uppercase letters), units-per-em (the design grid resolution). These numbers are stored in the OS/2 and hhea tables of the font binary and accessed by browsers when rendering and by you when configuring fallbacks.
Two fonts at the same CSS font-size can look very different sizes because their internal metrics differ. The Inspector here parses the font binary in the browser and surfaces these numbers in a readable form. Knowing your font ex-height ratio (sxHeight divided by unitsPerEm) is what powers the font-size-adjust property and what makes layout-shift-free font swaps possible.
Variable font axes
If the font is a variable font, the Inspector also reads the fvar table to list every axis the font exposes: name, tag, min value, max value, default value. The five registered axes (wght for weight, wdth for width, opsz for optical size, slnt for slant, ital for italic) appear with their friendly names. Custom axes (GRAD on Roboto Flex, MONO and CASL on Recursive, SOFT and WONK on Fraunces) appear with their tag names.
This is useful when you receive a variable font from a designer and need to know what controls are available without opening it in a font editor. The Inspector also reports named instances if the font defines them: pre-baked locations on the variation space like Light, Regular, Bold.
Common Use Cases
Developers integrating a brand font use the Inspector to extract the metrics that feed @font-face descriptors: size-adjust, ascent-override, descent-override, and line-gap-override. Plug those into the @font-face block and the font behaves the same on every browser, with predictable line-heights and zero metric drift.
Performance engineers use the Inspector to compare file sizes across formats: the TTF, the WOFF, and the WOFF2 of the same font report different bytes-on-disk. Picking the smallest format that still ships everywhere your audience uses (WOFF2 plus a WOFF fallback for ancient browsers) saves real bandwidth.
Worked example: three fonts, same 16 px, different line boxes
On October 12, 2026 we read three TrueType files with the tool's own parser in Chromium and with fontTools 4.62.1: every value below matched. We also measured the height of a line of text at font-size 16px with line-height: normal.
| Font | Units per em | hhea ascender / descender / gap | x-height / cap height | USE_TYPO_METRICS | Line box at 16 px |
|---|---|---|---|---|---|
| DejaVu Sans | 2048 | 1901 / −483 / 0 | not stored (OS/2 v1) | off | 19 px |
| Liberation Sans (Arial-compatible) | 2048 | 1854 / −434 / 67 | 1082 / 1409 | off | 18 px |
| Poppins | 1000 | 1050 / −350 / 100 | 548 / 698 | on | 25 px |
- line-height: normal is a font property, not a fixed 1.2. The same 16 px text took 18, 19 or 25 px per line here, so swapping Arial-like text for Poppins with line-height: normal grows every paragraph by about a third. Set a numeric line-height (1.5) in your CSS, or pin the metrics with the override block the tool generates.
- Which numbers the browser uses depends on a flag. With USE_TYPO_METRICS set (Poppins) browsers use the OS/2 typo values; without it, macOS and most others use hhea and Windows uses the win values, which is why the tool's override block copies one set into ascent-override, descent-override and line-gap-override.
- Missing x-height is normal for older fonts. OS/2 table versions 0 and 1 have no sxHeight or sCapHeight fields (DejaVu Sans is version 1); measure them from the glyphs instead.
- Building a fallback: compare x-heights to start a size-adjust value. Poppins (0.548 em) against Liberation Sans / Arial (0.528 em) suggests a fallback size-adjust around 104%, then check visually; the override block handles the line box, size-adjust the letter size.
- Formats: TTF, OTF, WOFF and WOFF2 are read (WOFF2 is decompressed in the browser); the file never leaves your device.
Sources
Checked on .