# The vocabulary of typography

> Kerning vs tracking, leading, x-height, baseline, ligatures, serif vs sans serif, font weight, widows and orphans: learn the anatomy of type and the words designers use, each one set live with its guides drawn on.

The anatomy of type, and the words designers use for weight, spacing and setting text. Press a term to see it set, with the lines and parts it names drawn on the letters.

Interactive version, with every term shown: https://demoeditor.com/learn/typography

## Anatomy

The lines letters sit on and the names for their parts.

- **Anatomy of type** (also: anatomy of typography, type anatomy): The named lines every letter in a font is drawn to (baseline, x-height, cap height, ascender and descender) and the names for the parts of letters. Knowing them lets you say why two fonts at the same size look different sizes.

  ```text
  the guide lines, through H, d, x and p drawn big

  ------------------------------ ascender
               #
  -------------#---------------- cap height
    #   #      #
    #   #      #
  --#---#------#---------------- x-height
    #   #   ####  #   #  ####
    #####  #   #   # #   #   #
    #   #  #   #    #    #   #
    #   #  #   #   # #   #   #
    #   #   ####  #   #  ####
  -----------------------#------ baseline
                         #
                         #
                         #
  ------------------------------ descender

  H reaches the cap height, the d's stem the ascender,
  the x the x-height, and the p's stem the descender
  ```

- **Baseline** (also: baseline typography): The invisible line letters sit on. Descenders hang below it and round letters dip just past it. Lining up the baselines of text side by side, even at different sizes, is what makes a layout look tidy.

  ```text
  the line every letter sits on (marked =)

  ------------------------------ ascender
               #
  -------------#---------------- cap height
    #   #      #
    #   #      #
  --#---#------#---------------- x-height
    #   #   ####  #   #  ####
    #####  #   #   # #   #   #
    #   #  #   #    #    #   #
    #   #  #   #   # #   #   #
    #   #   ####  #   #  ####
  =======================#====== baseline
                         #
                         #
                         #
  ------------------------------ descender

  H, d and x stand on it; the p's descender hangs below
  ```

- **x-height** (also: x height): The height of the lowercase letters without ascenders, measured on the x. Fonts with a tall x-height look bigger and read better at small sizes, which is why two fonts set at the same point size rarely look the same size.

  ```text
  baseline to x-height: the height of a flat-topped x

  ------------------------------ ascender
               #
  -------------#---------------- cap height
    #   #      #
    #   #      #
  ==#===#======#================ x-height   -+
    #   #   ####  #   #  ####                |
    #####  #   #   # #   #   #               |
    #   #  #   #    #    #   #               |  x-height
    #   #  #   #   # #   #   #               |
    #   #   ####  #   #  ####                |
  =======================#====== baseline   -+
                         #
                         #
                         #
  ------------------------------ descender
  ```

- **Cap height** (also: capital height): The height of a flat capital letter like H or T above the baseline. It is usually a little lower than the ascenders of the lowercase, so capitals don't look too big next to them.

  ```text
  baseline to the top of a flat capital (the H)

  ------------------------------ ascender
               #
  =============#================ cap height -+
    #   #      #                             |
    #   #      #                             |
  --#---#------#---------------- x-height    |
    #   #   ####  #   #  ####                |  cap height
    #####  #   #   # #   #   #               |
    #   #  #   #    #    #   #               |
    #   #  #   #   # #   #   #               |
    #   #   ####  #   #  ####                |
  =======================#====== baseline   -+
                         #
                         #
                         #
  ------------------------------ descender

  the d's ascender rises a little past it
  ```

- **Ascender**: The part of a lowercase letter that rises above the x-height, as in b, d, h, k and l. Long ascenders give a font an elegant, airy look; short ones let lines sit closer together.

  ```text
  the part of the d that rises above the x-height

  ============================== ascender   -+
               #                             |
  -------------#---------------- cap height  |
    #   #      #                             |  ascender
    #   #      #                             |
  ==#===#======#================ x-height   -+
    #   #   ####  #   #  ####
    #####  #   #   # #   #   #
    #   #  #   #    #    #   #
    #   #  #   #   # #   #   #
    #   #   ####  #   #  ####
  -----------------------#------ baseline
                         #
                         #
                         #
  ------------------------------ descender
  ```

- **Descender**: The part of a letter that drops below the baseline, as in g, j, p, q and y. Tight leading can make the descenders of one line collide with the ascenders of the next.

  ```text
  the part of the p that drops below the baseline

  ------------------------------ ascender
               #
  -------------#---------------- cap height
    #   #      #
    #   #      #
  --#---#------#---------------- x-height
    #   #   ####  #   #  ####
    #####  #   #   # #   #   #
    #   #  #   #    #    #   #
    #   #  #   #   # #   #   #
    #   #   ####  #   #  ####
  =======================#====== baseline   -+
                         #                   |
                         #                   |  descender
                         #                   |
  ============================== descender  -+
  ```

- **Overshoot**: Round and pointed letters are drawn slightly past the baseline and x-height, because a circle that only touches the line looks smaller than a square. Here the o's poke out where the x stays flat.

  ```text
  x o x o: the flat x stops at the lines, the round o
  pokes past both (exaggerated: in a real font it is
  about 1 percent of the type size)

            ###           ###      <- overshoot
  ------------------------------ x-height
    #   #  #   #  #   #  #   #
     # #   #   #   # #   #   #
      #    #   #    #    #   #
     # #   #   #   # #   #   #
    #   #  #   #  #   #  #   #
  ------------------------------ baseline
            ###           ###      <- overshoot
  ```

- **Counter** (also: counterspace): The enclosed or partly enclosed space inside a letter, like the hole in an o, p or d. Open counters keep small text legible; when they fill in at heavy weights, letters start to blur together.
- **Bowl**: The curved stroke that closes around a counter, as in b, d, p and q. The bowl is the stroke; the counter is the space inside it.

  ```text
  a d drawn big

            ##      ## stem
            ##      o  bowl: the curved stroke
      oooooo##      .  counter: the space it closes around
    oo......##
   oo.......##
   oo.......##
    oo......##
      oooooo##
  ```

- **Stem**: The main vertical stroke of a letter, like the uprights of an H or the single stroke of an l. The stem's thickness does most to set a font's weight.
- **Crossbar** (also: bar): The horizontal stroke across a letter, as in A, H, e and t. How high or low it sits is one of the quickest ways to tell two fonts apart.
- **Serif**: The small finishing stroke at the end of a letter's main strokes. It gives a typeface its name: serif faces have them, sans serif faces don't.
- **Terminal**: The end of a stroke that has no serif, like the tips of c, a and r. A terminal can be cut flat, angled, or finished with a ball or teardrop.
- **Ligature** (also: fi ligature): Two or more letters joined into one glyph, like fi, fl and ffi, so the hook of the f doesn't crash into the next letter. Most software swaps them in automatically when the font has them; switch them off for code and letter-spaced text.

## Classification

The families typefaces fall into, and how to tell them apart.

- **Serif vs sans serif** (also: serif, sans serif): Serif faces finish their strokes with small cross-strokes (serifs) and usually mix thick and thin strokes; sans serif faces ("sans" is French for without) don't. Serifs feel bookish and traditional, sans serifs clean and modern; both read fine on today's screens.
- **Slab serif** (also: Egyptian, mechanistic): A serif face with thick, blocky serifs and little contrast between strokes, like Rockwell or the typewriter face Courier. Sturdy and loud, it suits headlines, posters and anything meant to look typed.
- **Monospace** (also: monospaced, fixed-width): Every character takes the same width, so an i gets as much room as a W. Columns of code and tables of numbers line up; prose looks uneven. The cells show each letter's width.
- **Script** (also: handwriting, cursive): Faces drawn to look written by hand with a pen or brush, often with letters that join. Lovely for a name, an invitation or a logo; tiring in paragraphs, and never in all caps.
- **Display type** (also: display face, headline type): Faces designed to be used big, for headlines, posters and signs, with details that would clog up at small sizes. The same face set as body text becomes hard to read.
- **Geometric sans** (also: grotesque, neo-grotesque, humanist): Sans serifs come in kinds: geometric ones are built from circles and straight lines (Futura, Sora), grotesques and neo-grotesques have plainer, more uniform shapes (Helvetica, Inter), and humanist ones follow the pen (Gill Sans, Frutiger).
- **Typeface vs font** (also: font family): A typeface is the design (Inter); a font is one weight and style of it (Inter Bold), usually one file today (in metal type, one size of one style). In everyday speech people use "font" for both, and nobody minds.

## Weight and style

How heavy, slanted or narrow a font is drawn.

- **Font weight** (also: weights, bold): How thick a font's strokes are, named or numbered from Thin (100) through Regular (400) and Bold (700) to Black (900). Use two or three weights at most, far enough apart to tell at a glance.
- **Italic vs oblique** (also: italic, oblique): An italic is redrawn: the letters change shape (look at the a, which becomes single-storey, and the f, which grows a tail below the baseline). An oblique is just the upright letters slanted. Many sans serifs only have obliques, and a browser fakes one when a font has no italic.
- **Condensed** (also: narrow, compressed, extended): A narrower cut of a typeface, drawn to fit more letters on a line while keeping strokes even; its opposite is extended. Squashing a normal font in software does the same badly: the upright strokes go thin while the bars stay thick.
- **Variable font** (also: variable fonts): One font file with adjustable axes, like weight or width, instead of a separate file for every style. Any value in between is available, so the weight can be tuned or animated smoothly.
- **Stroke contrast** (also: contrast): The difference between a font's thickest and thinnest strokes. High contrast looks refined but its thin strokes vanish at small sizes; low-contrast, even strokes hold up anywhere.
- **Optical sizes** (also: optical size, opsz, text and display cuts): Versions of a typeface drawn for the size they will be read at. The small, text cut has a larger x-height, sturdier strokes and looser spacing so it holds up in body copy; the display cut is finer and tighter for headlines. Variable fonts carry it as an opsz axis the browser follows as the size changes.
- **Faux bold** (also: fake bold, synthetic bold): When a font has no bold, browsers and apps fake one by outlining the regular letters. Counters fill in and the spacing stays tight. Load the real bold instead.

## Spacing

The space between letters, words and lines, and how long a line runs.

- **Kerning**: Adjusting the space between one particular pair of letters, like AV or To, so the gaps look even. Fonts carry a table of these pairs; the marks show how far each one is moved, in thousandths of an em (negative pulls the pair closer).

  ```text
  A and V, side by side as the font spaces them, then kerned

  not kerned                kerned (-80)
     /\   \      /             /\ \      /
    /  \   \    /             /  \ \    /
   /----\   \  /             /----\ \  /
  /      \   \/             /      \ \/

  not kerned: a wide diagonal channel of white
  opens between the two
  kerned: the V slides left, its arm reaching over
  the A's foot, until the gap looks like the rest
  ```

- **Tracking** (also: letter spacing, tracking typography): Adding or removing the same space between every letter in a run of text. Loosen it for all caps and small text; tighten it a little for big headlines. Leave body text alone.

  ```text
  the same space added between every pair of letters

  normal   TRACKING
  loose    T R A C K I N G
            ^ ^ ^ ^ ^ ^ ^   every gap grows the same

  one space stands in for the added amount; real tracking
  moves in thousandths of an em, and negative tracking
  takes the same amount out of every gap
  ```

- **Kerning vs tracking**: Kerning fixes the gap between one pair of letters; tracking changes every gap in a word or line by the same amount. Kern to fix awkward pairs, track to set the overall texture.

  ```text
  one space here stands for the font's own gap

  as set     T o d a y
  kerned     To d a y        one pair (T-o) moves
  tracked    T  o  d  a  y   every gap opens the same
  ```

- **Leading** (also: leading typography, line height, line spacing): The distance from one baseline to the next (named after the strips of lead between lines of metal type). Body text usually wants 1.4 to 1.6 times the font size; big headlines need less.

  ```text
  font size 10 pt, leading 15 pt (line height 1.5)

    Leading is measured from   ___ baseline  -+
                                              |  leading
    baseline to baseline, so   ___ baseline  -+

    it includes the letters.   ___ baseline

  ___ marks where each line's baseline sits; the leading
  is the white between the lines plus the type itself
  ```

- **Word spacing**: The space between words. A font's default is usually right; too wide and lines fall apart into separate words, too tight and the words run together.

  ```text
  normal     the words hold together as a line
  too wide   the    words    fall    apart

  too tight is the opposite: the words run together
  ```

- **Measure** (also: line length): How long a line of text is, counted in characters. About 45 to 75 characters reads comfortably; longer lines make it hard to find the start of the next one, shorter ones break the rhythm.

  ```text
  line length in characters (each - is 3 characters)

              0             45        75             120
              |              |         |              |
  too short   -------
  about 65    ----------------------
  too long    ----------------------------------------

  45 to 75 characters reads comfortably
  ```


## Setting text

Putting type into paragraphs and pages that read well.

- **Typography** (also: typesetting): The craft of choosing and arranging type: the faces, sizes, weights, spacing and line lengths that make words easy and pleasant to read. Good typography mostly goes unnoticed; bad typography gets in the way.
- **Alignment** (also: text alignment, flush left, justified): Which edges of a paragraph line up. Flush left (ragged right) is the easiest to read; centred suits a few short lines; flush right is for captions and labels; justified gives two clean edges but needs hyphenation to avoid gappy lines.

  ```text
  flush left (ragged right)    centred
  |Alignment decides which      Alignment decides which
  |edges of a paragraph           edges of a paragraph
  |line up, and how the           line up, and how the
  |eye finds the start of        eye finds the start of
  |every new line.                  every new line.

  flush right                  justified
   Alignment decides which|    |Alignment decides which|
      edges of a paragraph|    |edges  of  a  paragraph|
      line up, and how the|    |line  up,  and  how the|
    eye finds the start of|    |eye  finds the start of|
           every new line.|    |every new line.        |

  | marks an edge that lines up; justified text stretches
  the spaces, and its last line stays flush left
  ```

- **Rag** (also: ragged right, ragged edge): The uneven right edge of flush-left text. A good rag moves gently in and out, with no deep bites or long staircases; hyphenating long words evens it out. Justified text has no rag at all.

  ```text
  x's stand for letters

  poor rag
  xxxx xxx xxxxx xxx xxxx
  xxxxx xxx                <- a deep bite
  xxx xxxx xxxxxxx xxx xxx
  xxxx xxxxx xxx xxxx xx   <- a staircase:
  xxx xxxx xxxx xxxx          each line shorter
  xxxx xxx xxxx               than the last
  xxxx xxxx

  good rag
  xxxx xxx xxxxx xxx xxx
  xxxxx xxx xxxx xxxx      <- the edge moves
  xxx xxxx xxxxxxx xxx xx      gently in and out
  xxxx xxxxx xxx xxxx
  xxx xxxx xxxx xxxx xxx
  xxxx xxx xxxx xxxxxxx
  xxxx xx.
  ```

- **Widows and orphans** (also: widow, orphan): A widow is a paragraph's last line stranded at the top of the next column or page; an orphan is its first line left alone at the bottom of one. Both break the reading flow. Fix them by editing a few words or moving a line across.

  ```text
  x's stand for letters; a blank line starts a paragraph

  widow
  column 1                 column 2
  xxxx xxx xxxxx xxx xx    xxx xxxxx.     <- widow
  xxx xxxx xxxxxxx xxx
  xxxx xxxxx xxx xxxx x    xxxx xxx xxxxx xxx xx
  xxx xxxx xxxx xxxx xxx   xxx xxxx xxxxx xxx

  the last line of a paragraph, alone at the top of
  the next column

  orphan
  column 1                 column 2
  xxxx xxx xxxxx xxx xx    xxx xxxx xxxxx xxx
  xxx xxxx xxxxxxx.        xxxx xxxxx xxx xxxx
                           xxxx xxx xxxxx xx
  xxxx xxx xxxxx xxx xx    xxx xxxx xxxxx.
  ^ orphan

  the first line of a paragraph, alone at the foot
  of a column

  (a single short word on a paragraph's last line is
  a runt, though many people call that a widow too)
  ```

- **Runt** (also: single-word last line, widow (loosely)): A last line with a single short word on it, which leaves a hole under the paragraph. Many people call this a widow too. Pull a word down from the line above or rewrite slightly.

  ```text
  runt
  Typography is the craft of arranging type
  so that words are easy to read and good to
  look at. Most of it goes unnoticed: readers
  should see the words, not the space around
  them.                                   <- runt

  fixed: one word pulled down
  Typography is the craft of arranging type
  so that words are easy to read and good to
  look at. Most of it goes unnoticed: readers
  should see the words, not the space
  around them.
  ```

- **Hierarchy** (also: typographic hierarchy, visual hierarchy): Using size, weight, colour and space so the reader can see what matters most and what to read first. Three or four clearly different levels are usually enough.
- **All caps** (also: uppercase, capitals): Text set entirely in capitals. We read it more slowly than lowercase, mostly because we see so much less of it: keep it for short labels and headings, and add a little tracking so the letters don't crowd.
- **Small caps** (also: small capitals): Capital letters about the height of the lowercase, for acronyms and abbreviations in running text so they don't shout. Fonts that include real small caps draw them heavier than shrunk capitals; browsers fake them, too thin, when a font has none.
- **Drop cap** (also: initial, versal): A large first letter that drops down into the first few lines of a paragraph, marking where a chapter or article starts. It should sit on a baseline of the text beside it.

  ```text
  a three-line drop cap (the T drawn big)

  #####  ypography is the craft of
    #    arranging type so that words
    #    are easy to read. Most of it   <- the T sits on
  goes unnoticed: a reader should          this baseline
  see the words, not the spaces.

  its top lines up with the first line's cap height
  ```

- **Hanging punctuation** (also: optical margin alignment): Letting quote marks and similar punctuation hang outside the edge of the text, so the letters themselves line up and the edge looks straight.

  ```text
  " stands for the opening quote mark; | is the text edge

  not hung                    hung
  |"Type is a beautiful      "|Type is a beautiful
  |group of letters, not      |group of letters, not
  |a group of beautiful       |a group of beautiful
  |letters."                  |letters."

  not hung: the T starts a mark's width in, and the
  edge looks dented
  hung: the quote sits in the margin and the letters
  line up
  ```

- **Hyphen, en dash, em dash** (also: em dash, en dash, hyphen vs dash): Three different marks. The hyphen joins words (well-known); the en dash, half an em long, spans ranges (1990–2025); the em dash, a full em (the type size), sets off a thought — like this. They are different lengths with different jobs, so don't substitute one for another.

  ```text
  the three marks, drawn to length (12 columns = 1 em)

              |<-- 1 em -->|
  hyphen  -    ====             well-known
  en dash –    ======           1990–2025
  em dash —    ============     wait—what

  hyphen (-): about a third of an em, varies by font
  en dash (–): half an em
  em dash (—): a full em, set closed up in US style;
    British style uses a spaced en dash instead
  ```

