Families and Classes

Typography Fundamentals

Course 1 ยท Chapter 2 ยท Type Families and How They Are Sorted

In Typography Fundamentals 1 you learned the parts of a single letter and saw that a font is a collection of glyphs with measurements attached. Now we zoom out. There are tens of thousands of typefaces in the world (check), and nobody can hold them all in their head. Designers cope the way librarians do: by sorting them into a handful of families and classes, so that "a transitional serif" or "a monospace" is enough to know roughly what is meant. This chapter gives you that sorting system, the words for how one typeface comes in many weights and widths, the difference between italic and oblique, and a short tour of how we got from metal blocks to font files.

What was run, and what was not
The two Python scripts in this chapter were run on Windows with Python 3.14.0 and fontTools 4.63.0, reading the fonts that come with Windows. The output shown is exactly what they printed. Your numbers can differ if your copies of those fonts are different versions. The CSS snippets and the live samples were not measured in several browsers; if a sample looks different on your screen, the likely reason is that your system substitutes other fonts.

The Six Everyday Families

Start with the broad groups you already meet every day. Each specimen below is the same short phrase, so only the letter shapes change. (These are live text samples, so they use whatever fonts your machine has: on a machine without them the browser falls back to something similar.)

Serif

Quiet Harbour Books

Small finishing strokes on the letters. Books, newspapers, formal documents.

Sans-serif

Quiet Harbour Books

No serifs. Signs, interfaces, modern branding.

Slab serif

Quiet Harbour Books

Thick, blocky serifs. Posters, headlines, a sturdy feel.

Script

Quiet Harbour Books

Imitates handwriting. Invitations and logos; poor for long text.

Display

Quiet Harbour Books

Made to be looked at in large sizes, with a lot of personality.

Monospace

Quiet Harbour Books

Every letter the same width. Code, terminals, typewriter looks.

These groups overlap and are not scientific. A slab serif is really a kind of serif; "display" describes a job (Typography Fundamentals 1's "looking" text) rather than a shape; "script" is a handwriting style. They are working labels, and that is exactly what makes them useful: they tell you what to expect before you have seen the letters.

FamilyGood forCareful withCSS generic name
SerifLong reading on paper; a traditional, trustworthy toneVery small sizes on low-resolution screens (Typography Fundamentals 6)serif
Sans-serifInterfaces, signs, short text, clean modern looksLetters that look alike (I, l, 1)sans-serif
Slab serifHeadlines, posters, a firm and friendly voiceDense paragraphs: the heavy serifs add visual noiseserif (no separate generic name)
ScriptInvitations, signatures, a single word or twoAll-capitals (hard to read), long paragraphscursive
DisplayTitles, posters, logosBody text, small sizes, anything longfantasy (loosely)
MonospaceCode, tables of figures, a typewriter feelLong prose: wide, uneven-looking letters slow readingmonospace

CSS has a short list of generic family names: serif, sans-serif, monospace, cursive, fantasy, plus newer ones such as system-ui (check). They are the safety net at the end of every font-family list. If none of your named fonts is installed, the browser picks some font of that kind. Which one it picks varies by device, so never rely on a generic name for the exact look.

Common mistake
Treating cursive and fantasy as if they gave a predictable result. Each browser and operating system maps them to a different font, or sometimes to nothing special at all (check). They are fallbacks, not design choices. If you want a script look, name a specific script font (or load one: Typography Fundamentals 6), and put cursive only at the end of the list.

Measuring a Family: Fixed Width Versus Proportional

One family boundary can be measured rather than judged by eye: monospaced versus proportional. In a proportional font a narrow letter such as i takes less room than a wide one such as m. In a monospace font every glyph gets the same advance width. A font file stores each glyph's advance width in its hmtx table, so we can just look. The script compares i, m and W in four fonts.

"""Is a font monospaced? Compare the width of a narrow letter and a wide one. py widths.py """ from pathlib import Path from fontTools.ttLib import TTFont FONTS = { "Times New Roman": "times.ttf", "Arial": "arial.ttf", "Courier New": "cour.ttf", "Consolas": "consola.ttf", } FONT_DIR = Path("C:/Windows/Fonts") print(f"{'font':<16}{'i':>6}{'m':>6}{'W':>6} {'m / i':>6} fixed-pitch flag") for name, filename in FONTS.items(): font = TTFont(FONT_DIR / filename) cmap = font.getBestCmap() hmtx = font["hmtx"] w = {ch: hmtx[cmap[ord(ch)]][0] for ch in "imW"} flag = font["post"].isFixedPitch != 0 print(f"{name:<16}{w['i']:>6}{w['m']:>6}{w['W']:>6} {w['m'] / w['i']:>6.2f} {flag}")
font i m W m / i fixed-pitch flag Times New Roman 569 1593 1933 2.80 False Arial 455 1706 1933 3.75 False Courier New 1229 1229 1229 1.00 True Consolas 1126 1126 1126 1.00 True

The widths are in font units out of 2048 per em, as in Typography Fundamentals 1. Look at the m / i column. In Arial an m is 3.75 times as wide as an i; in Times New Roman it is 2.80 times. In Courier New and Consolas the ratio is exactly 1.00: the narrow i is given the same box as the wide m, which is why monospace text has those wide gaps around the i and l. The last column is a flag the font author sets to tell programs "this is fixed-width", and it agrees with the measurement. A programmer needs it so columns of code line up; a reader of long prose is better served by proportional letters.

Sorting the Serifs: Old-Style, Transitional, Didone

Serif typefaces are the oldest family, and they are often sorted by when their design habits developed. Three classes are worth knowing. The key idea is stroke contrast: the difference between the thick and thin parts of a letter, and the stress, the angle of the axis along which the thinnest part falls. A pen held at an angle makes thick and thin strokes naturally; type designers copied that, then slowly exaggerated or removed it.

ClassContrastStressSerifsRoughly fromExamples (check)
Old-style (humanist)Low to moderateTilted, like a pen held at an angleBracketed (curved into the stem), often slanted on lowercase15th and 16th centuries (check)Garamond, Caslon, Palatino
TransitionalModerate to highNearly verticalBracketed, flatter18th century (check)Baskerville, Times New Roman
Didone (modern)Very highVerticalHairline-thin, flat, unbracketedLate 18th century (check)Bodoni, Didot

The name "didone" is a blend of two designers' surnames, Didot and Bodoni (check). "Transitional" sits between old-style and didone, which is exactly what the word says. Here are live samples, set large enough to see the contrast. If your machine lacks Garamond or Bodoni, the browser will substitute a different serif, which tells you something about how much a font choice depends on what is installed.

Old-style

Rhythm & Cadence

Gentle, tilted stress; the thick and thin parts blend.

Transitional

Rhythm & Cadence

More upright, sharper contrast.

Didone

Rhythm & Cadence

Hairline thins, heavy thicks, vertical stress.

What this tells you
More contrast gives more sparkle at large sizes and more fragility at small ones. Hairline strokes can almost vanish on a low-resolution screen or in a cheap print, which is one reason high-contrast didones are usually used for headlines and fashion titles rather than small body text. Contrast is a dial, and each class sits at a different setting.

Sans-Serif Gets Its Own Classes

Sans-serifs are sorted too, in a similar spirit. Four loose groups are enough for now:

  • Grotesque: the early sans-serifs, a little irregular, with some stroke contrast (Akzidenz-Grotesk, Franklin Gothic (check)).
  • Neo-grotesque: tidier and more uniform, the "neutral" look of much 20th-century signage and branding (Helvetica, Arial (check)).
  • Geometric: built from circles and straight lines, so an o is almost a perfect round (Futura, Avenir (check)).
  • Humanist: sans-serifs with proportions and stroke variation borrowed from handwriting and old-style serifs, typically very readable (Gill Sans, Frutiger, Verdana (check)).

The labels are fuzzy and people disagree about where a given typeface belongs. Do not memorise the names; learn to notice why two sans-serifs feel different (round or squared off, uniform or varying in stroke, tall or short x-height).

One Typeface, Many Fonts: Weight, Width and Style

A single typeface usually ships as a set of fonts that vary in a few controlled ways. Learning the three axes saves you from guessing:

AxisWhat changesNames you will seeCSS
WeightStroke thicknessThin, Light, Regular, Medium, Semibold, Bold, Blackfont-weight: 100 to 900
WidthHow wide the letters are setCondensed, Normal, Extendedfont-stretch (as a percentage or keyword)
StyleUpright or slantedRoman, Italic, Obliquefont-style: normal | italic | oblique

CSS weights run in hundreds: 400 is "normal", 700 is "bold", and keywords map onto those two numbers. Inside the font file the same number is stored as the "weight class". The script below reads it, along with the style flag and the italic angle, for eight font files that ship with Windows.

"""Read the style flags stored inside a few installed font files. py font_styles.py """ from pathlib import Path from fontTools.ttLib import TTFont FILES = [ "arial.ttf", "arialbd.ttf", "ariali.ttf", "ariblk.ttf", "times.ttf", "timesi.ttf", "georgia.ttf", "georgiai.ttf", ] FONT_DIR = Path("C:/Windows/Fonts") print(f"{'file':<14}{'family':<18}{'style':<14}{'weight':>7}{'italic angle':>14}") for filename in FILES: path = FONT_DIR / filename if not path.exists(): print(f"{filename:<14}(not found)") continue font = TTFont(path) name = font["name"] family = name.getDebugName(1) style = name.getDebugName(2) weight = font["OS/2"].usWeightClass angle = font["post"].italicAngle print(f"{filename:<14}{family:<18}{style:<14}{weight:>7}{angle:>14.1f}")
file family style weight italic angle arial.ttf Arial Regular 400 0.0 arialbd.ttf Arial Bold 700 0.0 ariali.ttf Arial Italic 400 -12.0 ariblk.ttf Arial Black Regular 900 0.0 times.ttf Times New Roman Regular 400 0.0 timesi.ttf Times New Roman Italic 400 -16.3 georgia.ttf Georgia Regular 400 0.0 georgiai.ttf Georgia Italic 400 -13.0

Four things stand out. First, the weight numbers match CSS: Arial Bold is 700. Second, Arial Black is a separate family: it reports weight 900 but its family name is "Arial Black", with style "Regular". Font families are not always tidy, which is why font-weight: 900 on Arial may not reach it. Third, the italic angles are negative because slanting to the right is measured as a clockwise lean (check); the angle differs between typefaces (12, 16.3 and 13 degrees here), so there is no single "italic slant". Fourth, the weight stays at 400 for the italics: italic is a style, not a different weight.

Italic Versus Oblique

A true italic is a separately drawn companion typeface. The letters change shape: an italic a usually becomes a single-storey a, and the whole face often becomes narrower and more cursive. An oblique is simply the upright letters tilted, with the shapes left alone. Sans-serif families often use obliques; serif families usually have true italics (check). If a family has no italic at all, a browser will slant the regular letters for you, which is called faux (synthesised) italic, and type designers do not love the result. The same goes for faux bold, where the browser thickens strokes artificially.

Upright

a pleasant gate

True italic

a pleasant gate

Look at the shape of the a and g, not just the slant.

Slanted upright (oblique)

a pleasant gate

Browsers may draw this as a tilt of the regular letters (check).

The CSS keeps the two ideas apart, though in practice a browser often treats oblique as a request for the font's italic if no oblique exists:

/* A family with the usual style axes, as plain CSS. */ .quote { font-family: Georgia, "Times New Roman", serif; font-style: italic; /* the true italic, if the font has one */ } .label { font-family: Arial, Helvetica, sans-serif; font-weight: 600; /* semibold, if available; else the nearest weight */ font-stretch: 85%; /* a slightly condensed width, only if the font has one */ } .no-fakes { font-synthesis: none; /* never fake bold or italic: show what the font really has */ }

Weights are asked for, not guaranteed. If you request 600 and the family only has 400 and 700, the browser applies a fixed matching rule and picks one of them (check the exact rule on MDN). That is why a design may show "bold" in two places that were meant to look different.

Read before you rely on it
The browser support for font-stretch percentages and for the newer oblique angle form varies by font and browser (check). If a family does not offer a width axis, the property will do nothing. Test on the fonts you actually ship.

A Short History: From Metal to Files

Why do these classes exist? Because each one is a trace of how letters were made at the time. A very short timeline (dates are approximate and worth checking before you quote them):

PeriodWhat changedEffect on letters
Mid-1400s (check)Movable metal type arrives in Europe, associated with Johannes Gutenberg in Mainz (check)The first printed letters imitate the hand-written "blackletter" of manuscripts
Late 1400s to 1500s (check)Printers in Italy and France develop rounder, lighter "roman" letters; italic appears as a space-saving companionThe old-style serif class takes shape
1700s (check)Better paper, ink and printing let designers use finer strokesTransitional, then didone letterforms with more and more contrast
Early 1800s (check)Printing for advertising demands bigger, bolder letters; the first sans-serifs and slab serifs appear (check)Display faces, heavy grotesques, slabs
1900s (check)Industrial typesetting machines; the geometric and neo-grotesque sans-serifs of the mid-century arrive (check)The clean, uniform "modern" look
1980s and 1990s (check)Desktop publishing; fonts become software; outline formats (such as TrueType and OpenType) spreadAnyone can make, mix and misuse fonts
2000s to now (check)Web fonts and, later, variable fonts that hold a whole range of weights and widths in one fileTypography becomes a thing you load on every page (Typography Fundamentals 6)

The pattern to notice: technology and fashion keep moving the letterforms. Metal punches limited how thin a serif could be; smoother paper allowed hairlines; sans-serif sheds serifs because they were hard to see at distance on signs and posters; monospace exists because typewriters moved the paper a fixed distance for every key; screens now ask for generous x-heights and open counters. When someone says a typeface "feels old-fashioned" or "feels modern", they are reading these histories whether they know it or not.

Hands-On Exercises

Three exercises: a code task that measures your own fonts, a written design task that classifies typefaces by description, and a CSS task that puts the families and styles to work. Each has a solution file that opens in a new tab.

Exercise 1

Write a script that scans every .ttf file in C:/Windows/Fonts and uses the post table's fixed-pitch flag to list the family names of the monospaced fonts it finds, each only once (a family has several files). Then count how many different families the folder contains, and what fraction are monospaced. Skip any file that cannot be read, and say how many you skipped.

๐Ÿ“„ View solution
Exercise 2

Sort these six descriptions into a family or class (serif, sans-serif, slab, script, display, monospace; and for serifs, old-style, transitional or didone), and say which single detail of each description decided it. (a) Hairline thins, thick vertical stems, perfectly vertical stress, used on a fashion magazine title. (b) Letters built from near-perfect circles, no serifs, used on a minimalist poster. (c) A heavy, blocky face with thick rectangular serifs on a farm-machinery logo. (d) A narrow, tilted-stress book face with bracketed, slanted serifs. (e) A bank statement's account numbers where every digit is the same width so columns line up. (f) A wedding invitation written to look like pen strokes.

๐Ÿ“„ View solution
Exercise 3

Build a one-page type family sampler in HTML and CSS. Show one sentence in each of the six everyday families, each with a sensible fallback stack ending in the right generic name. Add a row that shows one serif family in weights 400 and 700 and in normal and italic style, and a final row that sets font-synthesis: none on a family that has no italic to see what the browser does. Write one sentence, as a comment, about what you notice.

๐Ÿ“„ View solution

Chapter 2 Quick Reference

  • Everyday families: serif, sans-serif, slab serif, script, display, monospace. They are working labels: they overlap and describe shape, style or job
  • CSS generic names: serif, sans-serif, monospace, cursive, fantasy: always the last item in a font-family list, and never a precise design choice
  • Monospace versus proportional: in a monospace font every glyph has the same advance width (Arial's m is 3.75 times its i; in Consolas it is 1.00)
  • Serif classes: old-style (tilted stress, low contrast), transitional (nearly vertical, moderate contrast), didone (vertical, very high contrast)
  • Weight, width, style are the three axes of a family: font-weight 100 to 900, font-stretch, font-style
  • Italic versus oblique: a true italic is a redrawn companion; an oblique is the upright letters tilted; browsers may fake either (font-synthesis)
  • History explains the classes: each style is a trace of the tools and paper of its time