Dustin Johnson ← Design Primitives
Design Primitive Reference · Part II · October 2026

Typography

Setting Text — the space inside and around a line of type: how tall each line is, how long, how far apart its paragraphs sit, how its letters are spaced, and what happens when it runs out of room.

I. Why Setting Is Separate

A type scale decides which sizes and weights exist; setting decides how much room each line gets, and it is the half that users actually see. The same scale, set badly, reads as a different and worse product, which is why setting gets its own rules rather than a column in the scale table.

Typography Part I §III fixed nine voices, each a size, a weight, a tracking value and a leading. Most teams that adopt a scale like that copy the sizes and weights into their tokens and leave the rest to whatever the CSS reset does. What the reset does is set line-height: 1.5 on the body and let everything inherit it, leave every column as wide as its container, put the same margin under every paragraph, and never touch letter-spacing. Nothing in that list is a size or a weight, so a review against the scale passes. The screen still looks wrong.

Here is a sample record from an invented lab archive set that way. Every size, weight and family on it comes from the scale. Look at it before turning the line boxes on.

Cold room B · Rack 14 · Box 07 Sample SMP-2291 Plasma · 4 aliquots · received Oct 2 by R. Okafor
Collected at the Ridgefield field station during the autumn survey and shipped on dry ice. The cold chain held for the whole route except one handover at the regional depot, where the log shows the box at −12 °C for 40 minutes before it reached the transit freezer. Read the handover record before reporting any result from this sample. Aliquot A was consumed by assay QC-17. Aliquots B to D remain on the rack; C is reserved for the replication study and should not be thawed without sign-off from the study lead.
StatusOn rack CollectedSep 28, 2026 StudyRS-04 OwnerL. Brandt
Aliquots
AliquotLocationVolumeThawsLast assay
SMP-2291-PL-A/coldroom-b/rack-14/box-07/pos-010.00 mL1QC-17 · Oct 4
SMP-2291-PL-B/coldroom-b/rack-14/box-07/pos-021.50 mL0—
SMP-2291-PL-C/coldroom-b/rack-14/box-07/pos-031.50 mL0Reserved
SMP-2291-PL-D/coldroom-b/rack-14/box-07/pos-040.75 mL11QC-09 · Sep 30
Activity
Oct 04 14:22 QC-17 consumed aliquot A, 1.50 mL Oct 04 09:10 Moved to cold room B, rack 14, box 07 Oct 03 16:45 Handover log reviewed by L. Brandt Oct 02 11:03 Received from regional depot, R. Okafor Oct 01 20:31 Depot handover, box at −12 °C for 40 min Sep 28 15:12 Collected at Ridgefield field station
As found · Every size and weight from the scale · line-height: 1.5 everywhere · One full-width column Look first, then show the line boxes. Stripes are line boxes; the faint rules are a 4px grid measured from each run's top.

The failures are all in the space. The title, at 28px with the inherited 1.5, gets a 42px line box, which leaves the overline floating above it and the metadata detached below it. The description runs across the whole record at 76 to 82 characters a line, so the eye loses its place on every return sweep. Its two paragraphs are separated by exactly one line of leading, so the break between them reads as no stronger than a line break and no weaker than the gap before the table. The body text carries a little positive tracking someone added to "open it up," the overline carries none, and the one word that needed emphasis got italics, which at 16px in a geometric sans barely registers. In the table, every ID is truncated at the end, so four different aliquots read as the same SMP-229…, and every location reads as the same path. The log's 18px lines don't divide its 96px window, so the last line is sliced through its middle.

None of those is a size or a weight problem. They are the six things this part covers: leading (§II), measure (§III), paragraph and block spacing (§IV), tracking (§V), numerals (§VI) and truncation (§VII), plus emphasis (§VIII) and the way density posture moves them (§IX). Section X audits this record and resets it with nothing but those values.

The boundaries, stated once. The scale, the families, the weights and the tokens are Typography Part I; which voice speaks where on a screen, and contrast, are Part III. Baselines in mixed-size rows and the rule that the eye aligns visible edges are settled in Grid & Layout Part II §VIII, and right-aligned numeric columns in §VI of the same part. Vertical rhythm between sections is Spacing & Density §IX. This part owns only the space inside text: within a line, between lines, between paragraphs, and at the end of a line that doesn't fit.

A scale says which sizes exist. Setting decides whether they read. Teams review the first and ship the second by accident.

II. Leading

Leading is set per voice as a pixel value on the 4px grid: 20 for the 13px UI voice, 24 for 16px reading text, tighter ratios as size grows. Unitless 1.5 is wrong as a system because a single ratio can't serve both ends of the scale. It lands on the grid at exactly one step and gives every heading far too much air.

Leading is the height of a line box: the distance from one baseline to the next. The term comes from the strips of lead set between rows of metal type; in CSS it is line-height, and the glyphs sit centered in it with the leftover split above and below as half-leading. It has two jobs that pull in opposite directions. In running text it has to be open enough for the eye to find the start of the next line after a long sweep back. In UI text, which is mostly one line in a row, a cell or a control, it is the height of the box the text occupies, and every extra pixel is a taller row.

Aliquot B moved to cold room B, rack 14. Two aliquots remain at bench 4; the third was consumed by assay QC-17.
13 / 16 · 1.23 · 6 lines = 96px16 · Tight · Wrong
Aliquot B moved to cold room B, rack 14. Two aliquots remain at bench 4; the third was consumed by assay QC-17.
13 / 18 · 1.38 · lines 1, 3, 5 end off grid18 · Off the grid · Wrong
Aliquot B moved to cold room B, rack 14. Two aliquots remain at bench 4; the third was consumed by assay QC-17.
13 / 20 · 1.54 · 6 lines = 120px · on grid20 · The UI voice · Right
Aliquot B moved to cold room B, rack 14. Two aliquots remain at bench 4; the third was consumed by assay QC-17.
13 / 24 · 1.85 · 6 lines = 144px24 · Loose · Wrong
Every sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read.
16 / 20 · 1.25 · Lines crowd · Wrong
Every sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read.
16 / 24 · 1.5 · The reading voice · Right
Every sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read.
16 / 28 · 1.75 · Lines separate into stripes · Avoid
Stripes are line boxes; the faint rules are a 4px grid from the top of the text. At 18 the first, third and fifth line boxes end between grid lines. The reading frames are set at a 30em measure (§III), the width they would have in a product.

For the 13px UI voice, 20. At 16 the line box is barely taller than the glyphs: descenders on one line nearly meet ascenders on the next, and any text that wraps (a helper message, a two-line cell, a menu item with a description) turns into a block. At 24 the text floats: a list of one-line rows at 24 is a list of rows four pixels taller than it needs to be, and the lines of a wrapped message drift apart until they read as separate messages. Eighteen looks fine and is the most tempting wrong answer, because it is the ratio most systems used before they had a grid. It breaks the grid on every other line: a paragraph of 18px lines ends between grid lines half the time, and a list of 18px rows drifts off the 4px rows of everything beside it. Twenty is on the grid, gives a ratio of about 1.54, and is the value Material 3 and Carbon both converged on for their 14px body styles, which carry the same job at one size up.

For 16px reading text, 24. Twenty crowds a paragraph at a real measure: the eye sweeping back from the end of a 66-character line has to land on a line only four pixels clear of the one it just read. Twenty-eight is the editorial setting, right for long-form articles at wider measures, and in a product it makes a three-line description look like three captions. Twenty-four, a ratio of 1.5, is the reading voice in the scale.

Why Not One Ratio

The common advice is unitless line-height: 1.5 on the body, and it exists for a real reason: a unitless value inherits as a ratio, so a child with a different font size gets a proportional line box, where a pixel value would inherit as a fixed height. That reason disappears once every text style is a voice token that sets size and leading together, which is what Typography Part I §VI does. What's left is the ratio itself, and across the scale it is wrong far more often than right:

Stepline-height: 1.5 · WrongToken · Right 11px Received Oct 2 · 4 aliquots16.5 · off grid Received Oct 2 · 4 aliquots16 · text-xs 13px Two aliquots remain at bench 419.5 · off grid Two aliquots remain at bench 420 · text-base 14px Two aliquots remain at bench 421 · off grid Two aliquots remain at bench 420 · text-md 16px Collected at Ridgefield24 · right by coincidence Collected at Ridgefield24 · text-lg 20px Replication study RS-04 sample set30 · off grid · loose Replication study RS-04 sample set28 · text-xl 28px Cold room B reconciliation42 · lines fall apart Cold room B reconciliation36 · text-2xl
One ratio across six steps · On the grid once, at 16px · Right column is the scale

One ratio gives half-pixel line boxes at 11 and 13, a 21px box at 14, and line boxes at heading sizes that are half again as tall as the type, so a two-line heading reads as two headings. The ratio that suits reading text is too loose for display, and the ratio that suits display is too tight for reading. Type families that publish their own guidance say the same: the leading ratio falls as size rises. Apple's text styles go from about 1.3 at body size to about 1.2 at the large titles, and Material's from 1.5 at its 16px body to about 1.12 at the largest display style. The scale's leading column (1.4 at the overline, 1.54 at the UI voice, 1.5 at reading, 1.29 at the heading voice, 1.11 at display) is the same curve with every value rounded to the 4px grid.

VoiceSize / leadingRatioWhy this value
text-2xs10 / 141.40Uppercase has no descenders to clear; 14 keeps a tag's box small enough for a 20px pill.
text-xs · text-sm11 / 16 · 12 / 161.45 · 1.33Metadata, helper text and dense cells. Sixteen is the smallest box that keeps a wrapped hint legible.
text-base · text-md13 / 20 · 14 / 201.54 · 1.43The UI voices. One leading for both, so a posture change from default to comfortable never changes a row height by itself.
text-lg16 / 241.50Reading text at a 65–85 character measure.
text-xl · text-2xl20 / 28 · 28 / 361.40 · 1.29Headings wrap rarely and short; when they do, the lines must read as one heading.
text-3xl36 / 401.11Display numbers and empty-state titles. Almost always one line.

Leading lives in the token as a pixel value, never unitless. If the system's sizes are in rem so that they follow the user's default font size, write the leading in rem too (1.25rem for 20px at the default root), so the pair scales together and stays on the grid at the default. Two things follow. Never derive a fixed height from leading: a row that is "exactly two lines" clips the moment a user applies the text-spacing overrides that WCAG 1.4.12 requires a page to survive, so heights are minimums and boxes grow. And never reset leading inside a component to make it fit; if a 13px label doesn't center in its control, the control's padding is wrong, not the leading (Spacing & Density §VIII: a control's height derives from its inset and its line height, both on the grid).

/* The voice token carries its leading. Sizes and leading in the same unit. */ :root { --text-base-size: 0.8125rem; --text-base-leading: 1.25rem; /* 13 / 20 */ --text-lg-size: 1rem; --text-lg-leading: 1.5rem; /* 16 / 24 */ --text-2xl-size: 1.75rem; --text-2xl-leading: 2.25rem; /* 28 / 36 */ } body { line-height: var(--text-base-leading); } /* not 1.5 */
Leading is not a property of the page. It belongs to each voice, chosen with its size, and it is a number of pixels the grid can count.

III. Measure

Prose gets a measure of 65–85 characters, set as a maximum width in em on the text itself, and the width that produces it depends on the face and on the leading: in this series' sans at 16px with 24px leading that is 30–34em, 480–544px; with the open 27px leading this site's own articles use, the same face reads at 38em, 620px, the top of the range. The 640px column that is often quoted holds 83–91 characters at 24px leading, which is past it. UI text (labels, cells, menu items) has no measure; only running text does.

Measure is the length of a line of running text, counted in characters including spaces. The book-typography range is 45 to 75, with 66 the long-standing ideal; Butterick and Bringhurst give versions of it, and it was derived for print leading. On screen, where leading runs more open, reading-speed studies find long lines of 80 to 100 characters read as fast or faster, while readers say they prefer 55 to 75. The range this series uses sits where those overlap: 65 to 85, with the longer end earned only by open leading, because the return sweep from the end of one line to the start of the next is what fails on a long line, and more space between lines is what makes that sweep land. Below 55 the eye spends more time jumping than reading and every phrase breaks across lines. The specimen sets the same paragraph at four widths in the same face, size, leading and tracking; the counts are measured per rendered line.

960px · 60emEvery sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read. It matters on the day a result is questioned, when someone has to rebuild the chain from the freezer log back to the field.13513077
960px · 130–135 characters a line · Too long · Wrong
640px · 40emEvery sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read. It matters on the day a result is questioned, when someone has to rebuild the chain from the freezer log back to the field.91839177
640px · 83–91 characters a line · Past 85 at 24px leading · Wrong
30em · 480pxEvery sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read. It matters on the day a result is questioned, when someone has to rebuild the chain from the freezer log back to the field.676861696413
30em · 61–69 characters a line · The middle of the range at 24px leading · Right
20em · 320pxEvery sample in the archive carries a short history: who collected it, where it travelled, how long it waited at each bench, and which assays it passed through before it was shelved. Most of that history is never read. It matters on the day a result is questioned, when someone has to rebuild the chain from the freezer log back to the field.44473841434040436
20em · 38–47 characters a line · Too short · Wrong DM Sans 16 / 24, −0.005em, in every frame. The number beside each line is its character count, spaces included, measured from the rendered text; the last line of a paragraph is short by nature and is left out of each range.

Grid & Layout Part I §III estimated that 60–75 characters at 16–18px puts a text column between about 640 and 820px. Measured in a real proportional face, that estimate is a third too wide. It is the monospace arithmetic: 66 characters × 0.6em × 16px is 634px, and in IBM Plex Mono at 16px a 640px line does hold 65–68 characters. A proportional sans averages much narrower characters, about 0.46em in DM Sans across running English, because spaces and lowercase letters are narrow and they are most of the text. The same 640px holds 83–91 characters of the paragraph above. A wider sans moves the number only a little: the system UI face on macOS also measured 81–94 at 640px. The measure is a count of characters, and the width that produces it depends on the face; measure it, never compute it from a rule of thumb.

Set It in em, on the Text

Two units look right for this and aren't. A pixel width is correct for one size only: the 480px that gives 61–69 characters at 16px gives about 88 if the text drops to 12px. The ch unit sounds like "characters" but is the width of the digit zero, which in most sans faces is far wider than an average character; in DM Sans 1ch is 0.68em, so max-width: 66ch is a 720px column holding about a hundred characters. em scales with the text's own size, and a measured em count transfers between sizes in the same face.

Written asWidth at 16pxCharacters a line, DM Sans, measured
max-width: 640px64083–91. Past the range at 24px leading, and wrong again at any other size.
max-width: 66ch72093–103. The unit counts zeros, not characters.
max-width: 30em48061–69, average 66. Holds the count at any size in this face; 34em reaches 75, 38em reaches 85 and needs leading of 27px or more.

The measure caps the text, not the container. Grid I's prose container (about 720px) and its narrow one (560–640px) are still the right homes for reading screens: they hold headings, images, code, tables and forms that may use the full width. Inside them, paragraphs, lists and blockquotes carry max-width: var(--measure). The order is measure first, then the container sized to hold the measure plus whatever wider content the page needs. This is how the series' own theme is built: an 820px container whose paragraphs are capped separately.

UI text has no measure. A label, a table cell, a menu item, a button and a toast are read as phrases, not lines, and their width comes from the layout: a table column gets its width from its content (Grid & Layout Part III §II), and a label gets the width of its field. Capping them at 30em does nothing useful and occasionally truncates something that had room. The measure applies to anything a person reads line after line: descriptions, comments, help text longer than two lines, documentation, release notes, error explanations. A description field in a detail panel is prose, even in a dense tool, so it gets the measure even when the panel is wider.

The measure is a number of characters, not a number of pixels. Count them in the face you ship, then write the width in em.

IV. Paragraph & Block Spacing

Paragraph spacing is more than zero and less than a line: 16px under 24px leading in prose, 8px under 20px in dense UI. It sits two steps below the gap around blocks and further still below the space above a heading, which is always larger than the space below it. This is Spacing & Density §V's nesting rule applied to text, with the line as the innermost level.

A body of text has four nested gaps, and the nesting rule says each must be clearly larger than the one inside it. Lines sit one leading apart. Paragraphs sit one leading plus the paragraph gap apart. Blocks (a list, a table, a property box, a figure) sit apart from the paragraphs around them by the block gap. Headings open a new group, so they get the largest gap above and the smallest below. The two common failures are at the paragraph level: no paragraph spacing at all, and paragraph spacing equal to the leading, a blank line between paragraphs.

Handling Thaw on ice and never at room temperature; every thaw is logged and counted against the aliquot’s limit of three. Aliquot C is reserved for the replication study.
Max thaws 3Thaw on ice, 30 min
Disposal Spent tubes go to the biohazard bin at bench 2.
Paragraphs 0 · The break is a line break · Wrong
Handling Thaw on ice and never at room temperature; every thaw is logged and counted against the aliquot’s limit of three. Aliquot C is reserved for the replication study.
Max thaws 3Thaw on ice, 30 min
Disposal Spent tubes go to the biohazard bin at bench 2.
8 · 16 · 32 · 48 · Each gap doubles · Right
Handling Thaw on ice and never at room temperature; every thaw is logged and counted against the aliquot’s limit of three. Aliquot C is reserved for the replication study.
Max thaws 3Thaw on ice, 30 min
Disposal Spent tubes go to the biohazard bin at bench 2.
Paragraphs 24, equal to leading · As loud as a block · Wrong
Prose voice, 16 / 24, in all three. Only the gap between the two paragraphs changes. Hatched bands are the declared gaps.

With no paragraph spacing, the break between paragraphs is visible only when the last line of a paragraph happens to end short. When it ends near the full measure, as the first paragraph nearly does at this width, two thoughts run together. Print solves this with a first-line indent; screens don't indent, because indents fight left-aligned UI around the text and disappear on the narrow columns where paragraphs are most often short. Screens use space.

With paragraph spacing equal to the leading, each paragraph is followed by a blank line. That reads clearly in isolation, which is why it is the most common default, but it puts the paragraph gap one step from the block gap. Paragraphs, the property box and the next heading then sit at 24, 32 and 48, close enough that the eye stops reading levels: the second paragraph looks as separate from the first as the property box does, and the box no longer reads as belonging to the handling notes. The nesting rule wants adjacent levels at least one scale step apart and preferably two, and text needs the stronger version because the line pitch is already an inner level. At 16, each gap in the stack is double the one inside it.

Notes Box arrived with the seal intact. Depot log shows one excursion to −12 °C during the handover. Replication study has first claim on aliquot C.
Excursion 40 minReviewed by L. Brandt
Dense UI · 13 / 20 · 4 · 8 · 16 · Right
Notes Box arrived with the seal intact. Depot log shows one excursion to −12 °C during the handover. Replication study has first claim on aliquot C.
Excursion 40 minReviewed by L. Brandt
Paragraphs 20 above a 16 block gap · Inverted · Wrong

Inside dense UI, paragraph spacing is half a line or less. A note in an inspector, a multi-paragraph helper or the body of a confirmation dialog sits inside a container whose own inset and stack gaps are small (Spacing & Density §VII). A prose-sized paragraph gap there inverts the nesting: the paragraphs end up further apart than the note is from the property box under it, which is the second frame's failure. The values scale down with the container, never below the leading's own gap: 8 at 20 leading, 4 between a heading and its first line, 16 to the next block.

Headings: More Above Than Below

A heading's space above is always larger than its space below, two to three times, because a heading belongs to the text it introduces. Spacing & Density §IX settled this for page sections; inside text the same rule holds at every heading level, and both frames above use it (48 above, 8 below in prose; 16 above, 4 below in dense UI). What this part adds is the reason a declared gap is never the gap the eye sees. Every line box carries half-leading above and below its glyphs: 4px in a 16/24 line, 4px in a 28/36 heading, 3.5px in a 13/20 label. A declared 8px gap between a heading and its first paragraph is 16px or more of white between ink once the half-leading on both sides and the descender space are counted, and a declared 0 is not zero.

Two consequences. First, measure gaps between line boxes, as tokens do, and accept that the visible gap is larger by a fixed amount per voice; don't nudge individual gaps to compensate. Second, where an optical match matters, such as the top of a card's first heading against the card's inset, text-box: trim-both cap alphabetic trims the line box to the cap height and baseline so that the declared inset is the visible inset. It is supported in Chromium and WebKit; elsewhere the box simply keeps its half-leading, which is a safe fallback.

No baseline grid in product UI. Spacing & Density deferred strict vertical rhythm, every baseline on a shared grid, to this chapter. The verdict is not to build one. Product screens put several voices in one row, put text inside boxes with borders and padding, and stack components from different teams; holding all of that to a 4px baseline grid takes fractional offsets in every component and breaks as soon as one of them changes. What the eye actually detects is stacks drifting off a shared rhythm, and keeping every leading and every gap a multiple of 4 already prevents that. Line boxes on the grid, gaps on the grid, and the baselines land where they land.

Lines, paragraphs, blocks, headings: four levels of gap, each about double the one inside it. A paragraph gap equal to the leading erases a level.

V. Tracking

Tracking is tight above 20px, loose on uppercase small text, and never on body text. The scale's values are the verdict: −0.015em on the 28px heading voice, +0.08em on the 10px uppercase voice, 0 on everything a person reads in sentences.

Tracking is uniform letter-spacing across a run of text, the CSS letter-spacing, always in em so that it scales with the size. A typeface's built-in spacing is tuned for one range of sizes, usually text sizes around 12–16px. Larger than that, the same proportional spacing looks loose, because the gaps between letters grow faster than the eye needs them to. Smaller than that, and especially in capitals, which were designed to start words rather than to stand in rows, letters crowd. Variable families with an optical-size axis adjust this themselves (Typography Part I §VII), and Inter publishes a tracking formula by size. For a face without either, the scale's tracking column does the same job by hand.

Rack 14Rack 14 · Box 07Rack 14 · Box 070 a letter · 96.0px0 · Crowded · Wrong
Rack 14Rack 14 · Box 07Rack 14 · Box 07+0.4px a letter · 102.4px+0.04em · Still tight · Wrong
Rack 14Rack 14 · Box 07Rack 14 · Box 07+0.8px a letter · 108.8px+0.08em · text-2xs · Right
Rack 14Rack 14 · Box 07Rack 14 · Box 07+1.0px a letter · 112.0px+0.10em · This page's labels · In the band
10px uppercase · Top line mono drawn 2.5× · Then mono 500 and sans 600 at real size
Cold room B0 a letter · 164.5px0 · Loose at display size · Wrong
Cold room B−0.42px a letter · 159.9px−0.015em · text-2xl · Right
Cold room B−1.12px a letter · 152.2px−0.04em · Letters touch · Wrong
28 / 36, 600 · The heading voice
Two aliquots remain at bench 4.−0.39px a letter · 178.5px−0.03em · Wrong
Two aliquots remain at bench 4.0 a letter · 190.6px0 · Right
Two aliquots remain at bench 4.+0.52px a letter · 206.7px+0.04em · Wrong
13 / 20, 400 · The UI voice · Body text is never tracked Dashed boxes are the measured runs. Widths are from the rendered text; the per-letter figure is the tracking at that size.

Uppercase small text gets +0.08em. At 10px with no tracking, capitals in a mono or a sans sit closer than lowercase does, because each capital fills its cell; the overline turns into a dark bar that has to be decoded letter by letter. At +0.04em it is better and still tight. The scale's value is +0.08em, about 0.8px a letter at 10px, which is where each letter separates without the word breaking into spaced capitals. This series' own chrome sits a little looser, +0.10em on specimen labels and +0.12em on overlines, for an editorial page read at leisure; anything from +0.06 to +0.12 reads as deliberate, and the product voice takes the middle. One mechanical detail: letter-spacing is added after every glyph, including the last, so a tracked label in a centered or right-aligned slot sits off by one letter's tracking. In a pill that is under a pixel and can be ignored; in a right-aligned column header, trim it with a negative end margin of the same amount.

Headings at 20px and above get negative tracking, −0.01em at text-xl and −0.015em at the 28px heading voice, rising to −0.02em at display size. The effect is small in pixels (4.6px across the eleven glyphs of the specimen) and large in character: untracked, a large heading in a geometric sans reads like body text that has been enlarged. Past about −0.03em letters start to touch, first at pairs like ro and oo, and the word becomes a logo.

Body text is never tracked. The face's own spacing at text sizes is the most carefully tuned thing in it, and both directions damage it: negative tracking at 13px closes counters and makes rn read as m; positive tracking, the usual "it feels cramped" fix, breaks words into letters and slows reading. If body text feels cramped, the leading or the measure is wrong. The one exception is the scale's own +0.01em on text-xs, a hair of opening for 11px lowercase metadata, which is a size correction rather than a style. Tracking is a property of the voice: set once in the token, never added per screen.

Big type tightens, small capitals loosen, and sentences are left exactly as the type designer spaced them.

VI. Numerals & Data

Every number in a column, a counter or a timer uses tabular figures; proportional figures belong only in prose. UI numerals are lining, never oldstyle. Identifiers and hashes that must be read character by character go mono, and units and currency codes after a value take a smaller voice.

Grid & Layout Part II §VI settled the column: end-aligned, one precision, units in the header, one minus sign. That section also found that this series' sans, DM Sans as served by Google Fonts, has no tnum feature, so font-variant-numeric: tabular-nums silently does nothing in it. Following Typography Part I §V, the specimens here take their tabular figures from the mono. This section covers the figures themselves.

1:11:1110:48:300:07:192:00:04
Colons spread over 27px and 13pxProportional · Colons wander · Wrong
1:11:1110:48:300:07:192:00:04
Colons spread over 0pxTabular · Every digit one width · Right
Durations in a column, end-aligned
1,284 samples · 36.9 kg · since 2019
Oldstyle figures · Georgia's default · Wrong in UI
1,284 samples · 36.9 kg · since 2019
Lining figures · Cap height · Right
lot 4l1I-O0B8lot 4I1l-0OB8lot 41lI-O08B
IDs in the sans · l, I, 1, O, 0 · Wrong
lot 4l1I-O0B8lot 4I1l-0OB8lot 41lI-O08B
IDs in the mono · Every character distinct · Right
Avg transit18.2 days
Unit in the value's voice · Wrong
Avg transit18.2days
Unit a smaller voice · Right
Declared value$214,900 USD
Symbol and code · Says it twice · Wrong
Declared value$214,900
One currency · Symbol only · Right
Declared value214,900CAD
Mixed currencies · Code only, smaller · Right

Tabular in every column, counter and timer; proportional only in prose. Proportional figures are the default in most faces because they set better in a sentence, where a narrow 1 beside a wide 0 looks even. Stack them, or let them change in place, and the variation becomes motion: a column's decimal points wander, and a ticking timer shifts sideways every second. The durations above, all end-aligned, show it; the proportional column's colons are spread over several pixels while the tabular column's land in one place. Running text keeps proportional figures, because "since 2019" in tabular figures has a visibly wide gap after the 1.

Lining, not oldstyle, in UI. Oldstyle figures have ascenders and descenders like lowercase letters, so 3, 4, 5, 7 and 9 drop below the baseline while 6 and 8 rise. In a paragraph of a book that blends numbers into the text; in a product it makes values look uneven and makes a 1 and a lowercase l nearly identical. Every common UI sans defaults to lining figures. The risk is a display or editorial face brought in for a marketing surface whose default is oldstyle, like Georgia above; set font-variant-numeric: lining-nums where the face supports it and don't use it for data where it doesn't.

Mono for values read character by character. Sample IDs, lot numbers, hashes, API keys, file paths and anything a person will type back or compare against another screen go in the mono voice. The reason is not alignment but identity: in most sans faces the capital I, lowercase l and the digit 1 are a few pixels apart, and the capital O and zero are distinguished by width alone. The three lot numbers above are different strings; in the sans, they are close to indistinguishable. Most data does not need this. Quantities, dates and names stay in the sans.

Units and currency codes are a smaller voice. In a stat tile the number is the value, and the unit after it is a label. Set at the value's size, "18.2 days" makes the unit as loud as the number and reads as a phrase. Set at the UI voice, 400, muted, on the same baseline (the rule from Grid & Layout Part II §VII), the number reads first and the unit qualifies it. Currency is one mark, not two. A product that handles one currency uses its symbol, at full size and before the number, because it is read as part of the value. A product that mixes currencies drops the symbol and uses the ISO code after the number, in the smaller voice, because $ alone no longer says which dollar and € or ¥ beside their code says the same thing twice. "$214,900 USD" is the common failure: it is a symbol-only product that added the code for safety, and the only reader it helps is one comparing US, Canadian and Australian dollars, who is better served by the code alone. In a table, units and currency go in the header and not in the cell at all.

.cell-num, .stat-value, .timer, .counter { font-variant-numeric: tabular-nums lining-nums; font-family: var(--font-num); /* the sans if it ships tnum, the mono if it doesn't */ } .stat-unit { font: 400 var(--text-base-size) / 1 var(--font-sans); color: var(--fg-muted); } .id, .hash, .path { font-family: var(--font-mono); }
A number that will be compared needs fixed widths; a number that will be copied needs distinct characters. Most numbers need the first, and IDs need both.

VII. Truncation & Wrapping

Names truncate at the end, identifiers and paths in the middle, and numbers never. Descriptions clamp to a fixed number of lines instead of truncating to one. Headings wrap with text-wrap: balance and prose with pretty.

Text runs out of room in every product, and the choice is between three behaviours: wrap to more lines, truncate to one line with an ellipsis, or clamp to a fixed number of lines with an ellipsis on the last. Which one is right depends on where the information in the string lives. A name carries most of its meaning at the start. A path or an ID carries it at both ends: the root says where, the tail says which. A number carries it everywhere, and a truncated number is a different number.

Ridgefield autumn survey/coldroom-b/rack-14/box-07/pos-01.csv1,284,310
Ridgefield winter survey/coldroom-b/rack-14/box-07/pos-02.csv902,118
Lowmoor replication set/coldroom-b/rack-14/box-07/pos-03.csv48,900
Paths cut at the end · Numbers cut · Wrong
Ridgefield autumn survey/coldroom-b/rack-14/box-07/pos-01.csv1,284,310
Ridgefield winter survey/coldroom-b/rack-14/box-07/pos-02.csv902,118
Lowmoor replication set/coldroom-b/rack-14/box-07/pos-03.csv48,900
Names at the end · Paths in the middle · Numbers whole · Right
Lowmoor replication setSecond thaw of the reserved aliquots, run against the original QC-17 results to check the depot excursion.
Description on one line · Wrong
Lowmoor replication setSecond thaw of the reserved aliquots, run against the original QC-17 results to check the depot excursion.
Clamped at two lines · Right
Depot handover records for reviewKeep reserved aliquots on ice and log every thaw against the sample, with the bench and the time, before review.
Default wrapping · Orphans · Wrong
Depot handover records for reviewKeep reserved aliquots on ice and log every thaw against the sample, with the bench and the time, before review.
balance on the heading · pretty on prose · Right

End truncation for names and titles. "Ridgefield autumn sur…" still tells you which survey. It is the default text-overflow: ellipsis behaviour, and it is right for anything read from the start: names, titles, subjects, labels. The full string goes in the detail view one click away, or in a tooltip that keyboard focus also opens, since a hover-only tooltip doesn't exist on touch.

Middle truncation for identifiers and paths. The left list cuts its paths at the end, and three different files become the same /coldroom-b/rack-14/b…. Cut in the middle, the root and the distinguishing tail both survive. CSS has no middle ellipsis, so it's two spans in a flex row: the head truncates with an ellipsis and may shrink to zero, the tail is fixed and never shrinks. Keep the tail to the part that distinguishes rows: the file name, the last segment of an ID, the last six characters of a hash.

Never truncate a number. "1,284,3…" is not a shorter 1,284,310; it is an unreadable value that looks like data. When a numeric column runs out of room, the column wins and the text beside it gives up width (the fill column absorbs it, Grid & Layout Part III §II), or the number changes form: an abbreviated magnitude with the precision in a tooltip (1.28M), never a cut string.

Clamp descriptions; don't truncate them. A one-line description in a card says almost nothing, because the useful part of a sentence is rarely its first six words. Clamping at two or three lines (line-clamp, still shipped as -webkit-line-clamp) keeps the card's height fixed, which a card grid needs, and keeps enough of the sentence to judge whether to open it. In a detail view, nothing clamps; that is where the full text goes.

Balance headings, make prose pretty. A heading that wraps leaves its last word alone on the second line about as often as not, and a short heading split 90/10 reads as a heading and a fragment. text-wrap: balance evens the lines out, and it costs nothing on headings because browsers limit it to a handful of lines. text-wrap: pretty does a cheaper version for paragraphs: it avoids a single short word on the last line and leaves the rest alone. Both are progressive; a browser without them wraps normally. Neither belongs in UI text that sits in a fixed slot, like a cell or a button, where nothing should be wrapping at all.

Cut where the information isn't. For a name that's the end, for a path it's the middle, and for a number there is no such place.

VIII. Emphasis & Links

Emphasis in UI is weight, one step that visibly registers, never italic. A row gets one emphasis at most. Links in prose are always underlined; links in UI chrome (navigation, tabs, menus) are bare or underlined by one choice made once for the product.

StatusOn rack
StudyRS-04
OwnerL. Brandt
Italic · An oblique at 13px · Wrong
StatusOn rack
StudyRS-04
OwnerL. Brandt
Every value emphasized · Nothing ranks · Wrong
StatusOn rack
StudyRS-04
OwnerL. Brandt
One value, one visible step (600 in this face) · Right
The depot excursion is described in the handover record, and the original results are in assay QC-17.
Prose links bare · Invisible in a sentence · Wrong
The depot excursion is described in the handover record, and the original results are in assay QC-17.
Prose links underlined · Navigation bare, or underlined, by one choice · Right

Weight, not italic. Italic is a book convention for emphasis inside a sentence, and it works there because a serif italic is a different design, visibly cursive. Most UI sans faces have an oblique, the roman slanted a few degrees, which at 13px changes the shape of the text so little that the emphasis is missed. Italic also renders worst at small sizes on low-density screens (Typography Part I §VIII). Inside the UI voice the emphasis is one step heavier at the same size and family, and the step has to be one the eye can find: in faces whose medium is cut distinctly (Inter, SF, IBM Plex Sans) that is 500, the weight the scale keeps for such faces (Typography Part I §IV). In this series' face the medium sits about a pixel of width from the regular at 13px, which is why the first attempt at the Right frame above, set at 500, registered less than the italic beside it; the frame now uses 600. The test is the frame itself: if the emphasized value can't be found at a glance, the step is too small, and the fix is a heavier step, never a second device. Italic keeps its legitimate jobs: titles of works, terms being defined, and placeholder-like text that is not a value.

One emphasis per row. A row is read as one unit, and emphasis is a ranking within it; two emphasized runs in one row cancel each other, and the middle frame above, every value at 600, ranks nothing: it is a heavier panel, not a panel with a point. Pick the one thing the row is about, usually the value that differs from its neighbours, and emphasize that. A status pill is an emphasis; a row that has one doesn't also bold its value. Hierarchy, which voice the row's heading uses and how it differs from the row, is weight 600 and size, and it is Part III's subject; using the same weight for hierarchy and for emphasis is the failure that part opens with.

Underline links in prose. In running text, a link is a word that does something, and the only reliable signal is one that doesn't depend on colour. This series' specimens are achromatic, which makes the point by force: the bare links in the first frame are invisible. A colour-only link fails the same way for anyone who doesn't perceive the hue difference, and WCAG accepts it only with a 3:1 contrast against the surrounding text plus a non-colour cue on focus and hover. A 1px underline offset 3px below the baseline, in a muted tone, is quiet enough not to stripe a paragraph and unambiguous.

UI chrome is a choice, made once. Navigation items, tabs, menu items and breadcrumbs are interactive by position: everything in a sidebar is a link, so an underline on each one adds nothing the position doesn't already say, and the common choice is to leave them bare and let the current item carry weight and hover carry a background. The weight has to be a step that shows: in this face that is 600, as on the current item in both frames, because 500 is about a pixel from its neighbours and the current item would look unmarked. A product that would rather keep its chrome at 400 marks the current item with a background instead, which then cannot also be the hover. Underlined navigation is not wrong; it is a quieter, more editorial register that some products wear well, and the right frame reads either way. What is wrong is mixing: a sidebar where some items are underlined and some aren't, or a product whose tabs are bare and whose breadcrumbs are underlined. Decide once, write it into the system, and keep prose separate from it: prose links are underlined whatever the chrome does, because a link in a sentence has no position to tell it apart.

Emphasis is a ranking, so a row can only have one, and the step has to show. Prose links are always underlined; chrome links are one choice, kept everywhere.

IX. Text Density

Density posture moves the UI voice one step and changes the space around text; it never changes a voice's leading and never changes the measure. Dense logs and data tables set at text-sm, 12px on 16px leading, in every posture.

Spacing & Density §VII made posture one system-wide decision and left the text to this chapter. Typography Part I §III fixed which voice each posture uses: text-sm in compact, text-base in default, text-md in comfortable. What changes with the posture is which voice the controls and rows use, and the inset and block spacing around the text; each voice keeps its own leading, so the row heights fall out on the grid.

Aliquot B
LocationRack 14 · Box 07
Volume1.50 mL
Thaws0
StudyRS-04
Compact · 12 / 16 · Rows 28
Aliquot B
LocationRack 14 · Box 07
Volume1.50 mL
Thaws0
StudyRS-04
Default · 13 / 20 · Rows 36
Aliquot B
LocationRack 14 · Box 07
Volume1.50 mL
Thaws0
StudyRS-04
Comfortable · 14 / 20 · Rows 44
One panel in three postures · Row = leading + 2 × inset: 16 + 12, 20 + 16, 20 + 24
14:22:07 thaw SMP-2291-PL-B ok14:22:31 read QC-17 plate 3 ok14:23:02 temp bench-4 3.9 °C14:23:40 move PL-B rack-14/0714:24:11 scan SMP-2291-PL-C ok14:24:58 hold PL-C replication14:25:20 temp bench-4 4.1 °C14:26:03 read QC-17 plate 4 ok14:26:47 thaw SMP-2291-PL-D ok14:27:15 flag PL-D thaws 1114:27:52 temp bench-4 4.0 °C14:28:30 move PL-D rack-14/0714:29:04 read QC-17 plate 5 ok14:29:41 sync archive 0 errors
12 / 18 (1.5) · 10 whole lines + 1 slicedLog at unitless 1.5 · Last line sliced · Wrong
14:22:07 thaw SMP-2291-PL-B ok14:22:31 read QC-17 plate 3 ok14:23:02 temp bench-4 3.9 °C14:23:40 move PL-B rack-14/0714:24:11 scan SMP-2291-PL-C ok14:24:58 hold PL-C replication14:25:20 temp bench-4 4.1 °C14:26:03 read QC-17 plate 4 ok14:26:47 thaw SMP-2291-PL-D ok14:27:15 flag PL-D thaws 1114:27:52 temp bench-4 4.0 °C14:28:30 move PL-D rack-14/0714:29:04 read QC-17 plate 5 ok14:29:41 sync archive 0 errors
12 / 16 · 12 whole linesLog at text-sm · 16px leading · Right
Both log frames show 192px of text below a 16px inset.

Posture never changes leading within a voice. If compact also tightened text-sm from 16 to 14, the system would have two versions of every voice and row heights that no longer derive from a token. The step change in size is the density change; the leading comes with the voice. The row heights in the panel above are all whole multiples of 4, and they match the control heights Spacing & Density gives each posture (28, 36, 44), because each is the voice's leading plus twice the posture's row inset.

Posture never changes the measure. The reading voice, text-lg at 16 / 24 in a 30em column, is the same in all three postures. A compact product is denser in its rows and controls, not in its paragraphs; widening a description column to fit more words per line in a dense tool gives the same 83–91-character lines §III measured, and they are as hard to read in a trading screen as in an article. Compact may move a long description into a narrower inspector, but its paragraphs still stop at the measure.

Logs and data-dense tables set at text-sm, 12 / 16. A log viewer, a terminal pane, a diff or a dense data table is read by scanning down, many short lines at a time, and the number of lines visible is the feature. At 12/16 the 192px window shows twelve whole lines. The same 12px text at unitless 1.5 gets 18px lines: ten and two-thirds in the same window, a sliced last line, and a grid that no longer divides the pane. Mono for logs, because the timestamps and IDs in them must line up and be readable character by character (§VI); the sans for dense tables, with tabular figures. Content a person reads line after line stays at 12 or above; the smaller voices are for labels and metadata, and the minimum sizes are Typography Part III §VII.

Density decides how much space surrounds the text. The text itself, its leading and its measure, belongs to the voice and doesn't negotiate.

X. Auditing a Screen

Setting problems are found by measuring, not by looking, and the audit takes about fifteen minutes per screen. Here is the sample record from §I after one pass: the same family, the same sizes, the same weights, the same content.

Cold room B · Rack 14 · Box 07 Sample SMP-2291 Plasma · 4 aliquots · received Oct 2 by R. Okafor
Collected at the Ridgefield field station during the autumn survey and shipped on dry ice. The cold chain held for the whole route except one handover at the regional depot, where the log shows the box at −12 °C for 40 minutes before it reached the transit freezer. Read the handover record before reporting any result from this sample. Aliquot A was consumed by assay QC-17. Aliquots B to D remain on the rack; C is reserved for the replication study and should not be thawed without sign-off from the study lead.
StatusOn rack CollectedSep 28, 2026 StudyRS-04 OwnerL. Brandt
Aliquots
AliquotLocationVolume mLThawsLast assay
SMP-2291-PL-A/coldroom-b/rack-14/box-07/pos-010.001QC-17 · Oct 4
SMP-2291-PL-B/coldroom-b/rack-14/box-07/pos-021.500—
SMP-2291-PL-C/coldroom-b/rack-14/box-07/pos-031.500Reserved
SMP-2291-PL-D/coldroom-b/rack-14/box-07/pos-040.7511QC-09 · Sep 30
Activity
Oct 04 14:22 QC-17 consumed aliquot A, 1.50 mL Oct 04 09:10 Moved to cold room B, rack 14, box 07 Oct 03 16:45 Handover log reviewed by L. Brandt Oct 02 11:03 Received from regional depot, R. Okafor Oct 01 20:31 Depot handover, box at −12 °C for 40 min Sep 28 15:12 Collected at Ridgefield field station
After the audit · Same family, sizes, weights and content · Every run a voice with its own leading Compare the line boxes with §I's. Every stripe is now a multiple of 4, the description stops at 30em, and the log's six lines fill its window exactly.
CheckFound in §IFix
LeadingOne ratio: 15, 42, 19.5, 24, 16.5, 18The voice's own: 14, 36, 20, 24, 16, 16. All on the grid (§II).
MeasureDescription across the record, 76–82 characters30em column, 62–67 characters; properties moved beside it (§III).
ParagraphsGap equal to the leading, 2416, two steps under the 32 between sections (§IV).
TrackingBody +0.02em, heading +0.01em, overline 0Body 0, heading −0.015em, overline +0.08em (§V).
NumeralsProportional, left-aligned, units in cellsTabular mono, end-aligned, unit in the header (§VI).
TruncationIDs and paths cut at the end; four rows identicalIDs whole in the mono; paths cut in the middle (§VII).
EmphasisItalic in prose; four treatments on one value; bare link600 on one run; link underlined (§VIII).
Log12 / 18, last line sliced12 / 16, six whole lines (§IX).

The Method

Inspect the computed line height of every text run. In the browser's inspector, or with a one-line script that lists getComputedStyle(el).lineHeight for every element with text. Any value with a fraction, or not divisible by 4, is a finding. A unitless value anywhere in the cascade usually explains most of them at once.

Count characters on the longest line of every paragraph. Anything over 75 is a measure problem; anything under 45 that isn't a narrow inspector is a layout problem. Count on the real face at the real width, with real content.

Measure the gaps in one body of text. Lines, paragraphs, blocks, headings: four values, each about double the one inside it, heading space above larger than below. Two levels with the same value, or within one scale step, is a finding.

Read the letter-spacing of every voice. Positive on anything in sentence case is a finding. Zero on uppercase under 12px is a finding. Positive on anything over 20px is a finding.

Scan the numbers, the truncations and the emphasis. Every changing or stacked number tabular. Every ellipsis in the right place, none on a number. One emphasis per row, no italics in the UI voice, prose links underlined. Then fix in the order of this part: leading first, because it changes the size of everything below it, then measure, then spacing, then the run-level details.

On a Phone

Mobile is a reducing layer. The measure takes care of itself, because a 375px screen is narrower than 30em at 16px; the risk reverses, and the failure on a phone is the too-short line, which is why reading text never drops below 16px there and the page margin stays at 16 rather than growing. Leading holds per voice. The UI voice steps up one size on touch (Typography Part I §IX), and the leading comes with it. Truncation matters more because widths are smaller: middle truncation for paths and IDs, clamps on descriptions, and numbers that change form rather than lose digits.

Line heights, line lengths, gaps, letter-spacing: four measurements that settle most setting arguments before anyone mentions taste.

XI. The Decision Sequence

Setting decisions depend on the scale and on each other, and they drift when they're made per component. In order, written down once for a product:

1
Give every voice its leadingA pixel value on the 4px grid, in the token, with the size. Ratio falls as size rises. Remove every unitless line-height from the cascade.
2
Measure the measureSet a paragraph in the product face at the reading size, count characters per line, find the em width that gives 65–85, shorter when the leading is tight. That is --measure. Cap text with it, not containers.
3
Fix the four gaps of textLines, paragraphs, blocks, headings, each about double the last, for prose and for dense UI. Heading space above larger than below.
4
Set tracking per voiceNegative above 20px, positive on uppercase under 12px, zero on body. In the token; never per screen.
5
Decide the numeral rulesCheck the sans for tnum. Tabular and lining on every column, counter and timer. Mono for IDs, hashes and paths. Units a smaller voice.
6
Write the overflow rulesEnd, middle, clamp, or never, by kind of string. Balance on headings, pretty on prose.
7
Fix emphasis and linksOne visible weight step for emphasis (600 in this face), one per row. Prose links underlined; chrome links one choice.
8
Map posture to voices, not to leadingPosture picks the UI voice and the space around text. Leading and measure hold. Logs and dense tables at text-sm.
9
AuditComputed line heights, characters per line, gaps, tracking, on the busiest screens each release.

Steps one through eight are system decisions that live in tokens and components and rarely change. Step nine is the habit that keeps them true as screens are added.

What the Best Systems Avoid

A unitless line-height on the body. It looks like a decision and is the absence of one: right at a single size, off-grid at most of the others, and far too loose on every heading.

A measure computed from a rule of thumb. "640px is about 65 characters" is true for a monospace and wrong by a third for the sans most products ship. Count in the real face.

Paragraph spacing equal to the leading. The blank-line default that makes every paragraph as separate as a table or a card, and erases a level of the nesting.

Tracking as a fix for something else. Positive letter-spacing on body text to make it "breathe", which is a leading or measure problem in disguise.

Truncation by default. One text-overflow: ellipsis applied to every cell, which cuts paths at the end, numbers anywhere, and descriptions after six words.

Emphasis by accumulation. Bold, italic, uppercase and a pill on one value, and three emphasized runs in one row, until nothing stands out.

This part has been about setting a run of text so it reads. Part III takes the voices onto the screen: which voice the page title, the section heading and the group label use, the label, value and helper roles in fields and property rows, text inside controls and tables, contrast and minimum sizes, and one complete screen with every run labelled with its token.

Part II of Typography. Continues The Typeface & the Scale.
A reader never notices a well-set line. They notice the one that made them read it twice.