Appendix A

Paged.js Quick Reference

A condensed reference for the CSS Paged Media properties implemented by Paged.js, with the values supported in current versions and brief usage notes.

This reference covers the properties used throughout this book. It is not exhaustive — the full CSS Paged Media specification is considerably larger — but it covers the properties needed for professional document production. Where a property's support in Paged.js is partial or has known limitations, these are noted.

The @page rule and its properties

Property Values and syntax Notes
size 5.5in 8.5in · A4 · letter · A4 landscape Sets page dimensions. Named sizes: A3–A6, B4–B6, letter, legal, ledger. Orientation keywords: portrait, landscape.
margin 0.75in · margin-top · margin-bottom · etc. Standard CSS margin shorthand and longhands. All length units accepted.
margin-inside 0.625in Gutter-side margin — left on recto, right on verso. Use instead of margin-left / margin-right for double-sided documents.
margin-outside 0.875in Open-edge margin — right on recto, left on verso.
bleed 3mm · 0.125in Extends the printable area beyond the trim. Use with marks.
marks crop · cross · crop cross · none Adds crop marks and/or registration crosshairs outside the page boundary.

@page selectors and pseudo-classes

SelectorTargetsExample
@page All pages Default page geometry — applies to all pages not matched by a more specific rule.
@page :left Verso pages (even numbers) Different running header for left-hand pages.
@page :right Recto pages (odd numbers) Different running header for right-hand pages.
@page :first First page of the document Title page or cover — may suppress running headers.
@page :blank Intentionally blank pages (inserted by break-before: right) Suppress content on blank verso pages. Support in Paged.js is partial — test the specific version.
@page name Elements with page: name Named page types: @page chapter-opener { … }
@page name:left Verso pages of the named type Named page combined with :left or :right pseudo-class.

Margin boxes

Box namePosition
@top-left-cornerTop-left corner of the page
@top-leftLeft portion of the top margin
@top-centerCentre of the top margin — most used for running headers
@top-rightRight portion of the top margin
@top-right-cornerTop-right corner
@bottom-leftLeft portion of the bottom margin — outer folio on verso
@bottom-centerCentre of the bottom margin — centred folio
@bottom-rightRight portion of the bottom margin — outer folio on recto
@bottom-outsideOuter-edge portion of the bottom margin — automatically left on verso, right on recto
@left-top · @left-middle · @left-bottomLeft margin, split into thirds vertically
@right-top · @right-middle · @right-bottomRight margin, split into thirds vertically
@footnoteFootnote area at the foot of the content area — used with float: footnote

String set and counters

Property / functionUsage
string-set string-set: chapter-title content(text) — captures an element's text content into a named string for use in margin boxes.
string() content: string(chapter-title) — retrieves a captured string. Optional second argument: first, last, start (default). Use in margin box content declarations.
counter(page) content: counter(page) — current page number. Counter styles: decimal (default), lower-roman, upper-roman, lower-alpha, etc.
counter-reset counter-reset: page 1 on the main body element — resets the page counter to 1 at the start of the main body, enabling front-matter roman numerals.
::footnote-call Pseudo-element that generates the superscript footnote marker in the text.
::footnote-marker Pseudo-element that generates the marker at the start of the footnote in the footnote area.

Break and flow properties

PropertyKey valuesNotes
break-before page · right · left · avoid · auto Forces or avoids a page break before the element. right ensures the new page is recto; inserts a blank verso if needed.
break-after page · right · left · avoid · auto Forces or avoids a page break after the element.
break-inside avoid · avoid-page · auto Prevents page (or column) breaks within the element. Use on figures, callout boxes, table rows, and blockquotes.
widows 2 · 3 Minimum lines of a paragraph at the top of the next page. Apply to p.
orphans 2 · 3 Minimum lines of a paragraph at the bottom of the current page. Apply to p.
page name page: chapter-opener — assigns an element to a named page type. Forces a page break at the element boundary.
float: footnote Moves the element to the page's footnote area. Requires appropriate ::footnote-call and ::footnote-marker rules and @page { @footnote { … } }.

Current documentation

Paged.js is under active development. For the current list of supported properties and known limitations, consult the official documentation at pagedjs.org/documentation and the Paged.js GitHub repository. The browser you use matters: Chrome and Chromium-based browsers produce the most reliable output. Test your specific document in the browser version you plan to use for production.

Appendix B

Recommended Typefaces

Typefaces suitable for the document types in this book, organised by category and available through Google Fonts under open licences unless otherwise noted.

The following typefaces have been selected for their reading performance, their OpenType feature coverage, their availability under open licences, and their suitability for the print output that Paged.js produces. All are available as variable fonts or with multiple weight variants. All are tested against the CSS Paged Media context.

Serif typefaces — for body text and display

The Compositor's Garden
EB Garamond used in this book

Claude Garamond's humanist roman, revived by Georg Duffner and Octavio Pardo. Excellent OpenType coverage including old-style numerals, small caps, ligatures, and contextual alternates. Variable weight available from Google Fonts. Best at body text sizes (10–14pt); the italic is among the most beautiful in the open-source ecosystem.

The Compositor's Garden
Lora

A well-balanced contemporary serif designed for on-screen and print reading. Softer stress and higher x-height than EB Garamond, making it a good choice for documents intended for screen PDF reading. Strong at 11–13pt body text. Good OpenType coverage. Available from Google Fonts.

The Compositor's Garden
Libre Baskerville

Based on the American Type Founders' Baskerville. More robust than EB Garamond at small sizes, making it suitable for reports and academic papers that need legibility under a range of printing conditions. Transitional style; more formal than Lora. Available from Google Fonts.

The Compositor's Garden
Source Serif 4

Adobe's open-source serif, designed specifically for long-form digital and print reading. Full variable font with optical size axis — the size-specific refinements are significant for print. Excellent technical documentation from Adobe. Available from Google Fonts.

The Compositor's
Playfair Display

A high-contrast display serif suited to headlines and chapter titles at large sizes. The dramatic thick-thin variation creates strong visual presence in editorial contexts. Use for display only — it is not comfortable for extended body text reading at small sizes. Available from Google Fonts.

The Compositor's Garden
Cormorant Garamond

An elegant display-weight Garamond revival with very fine strokes and high contrast. Best at display and heading sizes (18pt and above); at body text sizes the hairline strokes can be lost in print. Includes swash variants and extensive decorative alternates. Available from Google Fonts.

Sans-serif typefaces — for UI elements, labels, and captions

Type & Layout
Outfit used in this book

A geometric sans-serif with high legibility at small sizes and clean rendering in print. Excellent for running headers, captions, labels, and navigational elements. The variable weight axis allows fine-grained weight selection. Available from Google Fonts under the Open Font Licence.

Type & Layout
Inter

Designed specifically for screen readability at small sizes, with careful optical adjustments at multiple weights. Variable font with weight and italic axes. Excellent fallback for Outfit in documents with different tonal requirements. Available from Google Fonts and from rsms.me/inter.

Type & Layout
DM Sans

A low-contrast, geometric sans-serif from Colophon Foundry for Google. Slightly more informal than Inter; good for reports and editorial documents that want approachability without sacrificing clarity. Variable font; full weight range. Available from Google Fonts.

Type & Layout
IBM Plex Sans

IBM's open-source corporate typeface family. The sans-serif is particularly suited to technical and academic documents — it has a precision and legibility that works well alongside data tables, code blocks, and dense reference material. Available from Google Fonts.

Monospace typefaces — for code blocks and technical content

font-size: var(--text-base);
Fira Code

A monospace typeface with programming ligatures that join common two-character sequences (→, ≥, etc.) into single glyphs. Excellent legibility at small sizes in code blocks. Available from Google Fonts under the SIL Open Font Licence.

font-size: var(--text-base);
JetBrains Mono

Designed for developer tooling, with generous x-height and distinct letterforms for commonly confused characters (0/O, 1/l/I). Slightly more open than Fira Code, which can improve readability in print at small sizes. Available from JetBrains and Google Fonts under the SIL OFL.

Pairing guidance

Successful typeface pairing rests on contrast of kind and harmony of proportion. The most reliable pairs combine a humanist or transitional serif for body text with a geometric or humanist sans-serif for labels and UI elements. Both should share a similar x-height and text colour (visual weight at body size), so that the overall texture of the page remains consistent even where the typeface changes.

Avoid pairing two serifs (EB Garamond body + Playfair Display headings) except at very different sizes, where the contrast is clear. Avoid pairing a serif with a grotesque sans-serif (like Helvetica or Arial) — the mechanical neutrality of a grotesque clashes with the humanist character of a reading-optimised serif. Geometric sans-serifs (Inter, Outfit, DM Sans) pair more naturally with humanist serifs because both share a similar underlying design philosophy.

Appendix C

Further Reading

Books, articles, and resources that go deeper into the subjects this book has introduced. Organised by topic; annotated to explain what each offers and who it is for.

Typography — theory and history

The Elements of Typographic Style
Robert Bringhurst · Hartley & Marks, 4th ed. 2012

The most authoritative general work on typography in English. Dense with historical detail, specific in its technical guidance, and beautifully set. Not a CSS book — it is about type itself, in all media. Read it slowly and with a dictionary. Chapter 2 (Shaping the Page) and Chapter 5 (Choosing and Combining Type) are the most directly applicable to the work in this book. Webtypography.net adapts Bringhurst's principles specifically for the web.

Thinking with Type
Ellen Lupton · Princeton Architectural Press, 3rd ed. 2022

The most accessible survey of typographic thinking currently in print. Covers letterform anatomy, type classification, spacing, and grid — with strong visual examples and exercises. Closer to a design school textbook than Bringhurst; less historical depth but more immediately actionable for someone building the foundations described in Parts One and Two of this book.

Typography: A Very Short Introduction
Paul Luna · Oxford University Press, 2018

Ninety pages that trace the history of typography from the handpress through to digital type. Exceptionally well written for the length. Provides the historical context that makes the technical choices in this book legible as part of a longer tradition rather than arbitrary convention.

Web Typography
Richard Rutter · Five Simple Steps, 2017

The most practically useful book on CSS typography for web contexts. Covers font loading, variable fonts, OpenType features, and typographic rhythm in CSS with the specificity this book sometimes defers to it on. Complements the typographic chapters of this book — where this book focuses on print output, Rutter focuses on screen; the underlying principles are the same.

Design fundamentals and layout

Grid Systems in Graphic Design
Josef Müller-Brockmann · Niggli, 1981

The foundational text on systematic grid design. Technical, precise, and occasionally austere — but the most rigorous account of why grids work and how to construct them. The diagrams showing how different column counts and module sizes produce different compositional possibilities are worth the price of the book. Directly relevant to Part Three of this book.

The Form of the Book
Jan Tschichold · Hartley & Marks, 1991

Tschichold's collected essays on book design, including the foundational "The Proportion of the Book" in which he documents the Van de Graaf canon and its geometric derivation. The most precise historical account of the classical margin proportions discussed in Chapter 14. The essay "On Typography" remains the best short statement of why typographic discipline matters.

The Non-Designer's Design Book
Robin Williams · Peachpit Press, 5th ed. 2023

The most accessible introduction to the four core design principles (Contrast, Repetition, Alignment, Proximity) that underlie the visual design guidance in Part One of this book. Before/after examples on every other page; exercises at the end of each chapter. Essential for readers who came to this book primarily through a technical interest in CSS rather than a design background.

CSS and web standards

CSS: The Definitive Guide
Eric A. Meyer and Estelle Weyl · O'Reilly, 5th ed. 2023

The comprehensive reference for CSS. Covers every property in the specification with precision and clarity. Not a reading book — it is a reference. For the CSS Grid properties in Part Three and the cascade behavior described in Chapter 25, this is the most reliable authority outside the W3C specification itself.

CSS Paged Media specification
W3C · w3.org/TR/css-page-3

The authoritative specification for the properties implemented by Paged.js. Technical and precise; not an introductory read. Essential for understanding the boundary between what Paged.js does and does not implement, and for understanding edge cases that the documentation and this book do not cover. The CSS Generated Content for Paged Media specification (w3.org/TR/css-gcpm-3) covers string sets, footnotes, and running headers.

Every Layout
Heydon Pickering and Andy Bell · every-layout.dev, 2019–ongoing

A methodical approach to CSS layout patterns, with an emphasis on algorithmic, intrinsic CSS rather than fixed values. The Stack, Cluster, Sidebar, and Center layouts covered at every-layout.dev are directly applicable to the component and layout patterns in this book. Available online with interactive examples.

Editorial design and print production

Making and Breaking the Grid
Timothy Samara · Rockport Publishers, 2nd ed. 2017

A visual survey of grid-based and non-grid-based editorial design, with hundreds of documented examples. More accessible and more visually rich than Müller-Brockmann; less theoretically rigorous. The "Breaking" section — showing how effective editorial design deliberately violates the grid for compositional purposes — is directly relevant to Chapter 22 on editorial layouts.

Real World Print Production with Adobe Creative Cloud
Claudia McCue · Peachpit Press, 2014

Despite the tool-specific title, the chapters on color management, PDF specification, preflight, and preparing files for print are tool-agnostic and directly applicable to the print output workflow in Chapter 19. The treatment of color spaces, bleed, and PDF/X standards is clear and practically oriented.

Online resources

Included with this book · compositor-garden/

The complete HTML+CSS source for the sample book developed across Parts Two–Four of this text. Includes all seven CSS layers, the full index.html, package.json build configuration, and a detailed README. Open index.html in Chrome with Paged.js loaded for a live preview; run npm run build to generate a print-ready PDF. The CSS decisions in each file correspond directly to the chapters where they are explained: tokens (Chapter 8), layout (Chapters 13–14), typography (Chapters 9–11), page rules (Chapters 16–17), break controls (Chapter 18), and print production (Chapter 19).

Paged.js documentation and cookbook
pagedjs.org · gitlab.pagedmedia.org

The official documentation, including a cookbook of common patterns and a community forum. The GitHub repository's issue tracker is the most up-to-date source for known limitations and workarounds.

Wakamai Fondue
Roel Nieskens · wakamaifondue.com

A browser-based tool that accepts any font file and produces a complete inventory of its OpenType features, variable axes, character coverage, and metadata. Essential for the work described in Chapter 10 on OpenType features — you cannot use a typeface's OpenType capabilities without first knowing what capabilities it has.

Modular Scale
Tim Brown · modularscale.com

An interactive tool for generating typographic scales from a base size and a ratio. Directly applicable to the type scale work in Chapter 8. The accompanying essay "More Meaningful Typography" (available at alistapart.com) provides the rationale for proportional type scales more fully than Chapter 8 was able to do.

The Layouts section of MDN Web Docs
Mozilla Developer Network · developer.mozilla.org

The most reliable and current reference for CSS Grid, Flexbox, and the associated layout properties. The interactive examples allow experimentation with grid template values directly in the browser. Used alongside the CSS Paged Media specification and this book, it answers most practical CSS questions that arise during document production.

Appendix D

Glossary

Typographic and CSS terms used in this book, defined precisely and cross-referenced to the chapters where they are discussed in full.

A – C

Ascender
The part of a lowercase letter that extends above the x-height — as in b, d, f, h, k, l, t. The height of the ascender relative to the x-height varies between typefaces and is one of the factors that determines appropriate line-height.→ Chapter 6, Chapter 9
Baseline
The invisible line on which the base of most letters sits. Descenders drop below the baseline; ascenders rise above it. The baseline is the reference point for vertical alignment in typographic layout, and baseline grids are constructed by spacing horizontal lines at the body text's line-height interval.→ Chapter 9, Chapter 13
Bleed
An extension of a design element — background color, image, or border — beyond the trim edge of the page, typically 3mm on all sides. Bleeds ensure that small imprecisions in the physical cutting of the page do not leave white slivers at the edge of the design.→ Chapter 19
Cap height
The height of a capital letter, measured from the baseline to the top of a flat capital such as H or I. Cap height is typically between 65% and 75% of the total font size. Used in the calculation of drop cap sizes.→ Chapter 20
Column gap (gutter)
The horizontal space between columns in a multi-column layout. In CSS, set with column-gap or gap. A gutter of at least 1em is required to prevent the reader's eye from accidentally continuing across to the next column.→ Chapter 15
Crop mark
A short line printed outside the trim edge of the page, at each corner, indicating where the physical cut should be made. Generated in CSS with @page { marks: crop; }.→ Chapter 19

D – F

Dek (standfirst)
In editorial typography, the short introductory paragraph between the headline and the byline. It elaborates the headline's claim without giving away the article's answer. Set in the body typeface at a slightly larger size than body text, typically in italic.→ Chapter 22
Descender
The part of a lowercase letter that extends below the baseline — as in g, j, p, q, y. In typefaces with large descenders, more line-height may be needed to prevent descenders from one line colliding with ascenders of the line below.→ Chapter 6, Chapter 9
Drop cap
A large initial capital letter at the start of a chapter or section, set to span two or more lines of the following text. Implemented in CSS with ::first-letter, float: left, and carefully calculated font-size and line-height values.→ Chapter 20
Em
A typographic unit equal to the current element's font size. In CSS, 1em = the computed font-size of the element. Because em values compound when nested (a child element inherits the parent's font-size, then multiplies it), rem is generally preferred for type scale values in document CSS.→ Chapter 8
Folio
The page number, and the typographic zone at the head or foot of the page where it appears. In classical book design, the folio sits at the outer edge of the foot margin — left on verso pages, right on recto. Set in CSS using content: counter(page) in a @page margin box.→ Chapter 17
Font-feature-settings
A CSS property that enables or disables specific OpenType features using four-character feature tags. Example: font-feature-settings: "kern" 1, "liga" 1, "onum" 1. The higher-level font-variant-* properties are preferred for legibility and cascade behaviour where they cover the needed feature.→ Chapter 10
fr unit
The fractional unit in CSS Grid. One fr represents one fraction of the available space in the grid container after fixed-size tracks and gaps are accounted for. Used to create proportionally flexible column tracks: grid-template-columns: 2rem 1fr 6rem.→ Chapter 13

G – L

Gutter
The space between two facing pages of a book spread, adjacent to the binding. Also used to describe the space between columns in a multi-column layout. The gutter margin (inner margin) must be generous enough to remain readable after binding swallows some of the space.→ Chapter 14, Chapter 15
Hanging indent
A paragraph or list entry in which the first line is set at the full column width and subsequent lines are indented, so that the first character of the first line hangs to the left. Used in reference lists and bibliographies to make entry numbers or author names easy to scan.→ Chapter 23
Kerning
The adjustment of space between specific pairs of letters whose natural spacing would otherwise produce awkward gaps or collisions — the classic example being AV, where the diagonal strokes create excessive visual space. Enabled in CSS with font-kerning: auto or font-feature-settings: "kern" 1. Distinct from tracking.→ Chapter 9, Chapter 10
Kicker
In editorial typography, a short line above the headline that identifies the article's section or category. Set in the UI typeface at small size in tracked uppercase, typically in the publication's accent color.→ Chapter 22
Leading
The vertical distance from the baseline of one line of text to the baseline of the next. The term derives from the lead strips placed between metal type to increase line spacing. In CSS, set with the line-height property; a unitless value (e.g., 1.76) is preferred as it scales proportionally with the element's font size.→ Chapter 9
Ligature
A single glyph that replaces two or more adjacent characters whose shapes create an awkward collision or gap when set separately. The most common are fi, fl, ff, ffi, and ffl, where the hook of the f collides with adjacent letters. Enabled with font-feature-settings: "liga" 1 or font-variant-ligatures: common-ligatures.→ Chapter 10
Lining numerals
Numerals that are all the same height, approximately equal to the cap height. Appropriate for tables, headlines, and contexts where numerals appear alongside capital letters. Contrast with old-style numerals. Activated with font-variant-numeric: lining-nums or font-feature-settings: "lnum" 1.→ Chapter 10

M – O

Margin box
One of the sixteen named areas within a page's margin zones, as defined by the CSS Paged Media specification. Used to place running headers, page numbers, and other navigational content in the margins using generated content. Example: @page { @top-right { content: string(chapter-title); } }.→ Chapter 16, Chapter 17
Modular scale
A type scale in which each step is derived by multiplying the previous step by a constant ratio. Common ratios include 1.25 (major third), 1.333 (perfect fourth), 1.414 (augmented fourth / √2), and 1.618 (golden ratio). Produces size relationships that feel harmonious because they are proportionally consistent.→ Chapter 8
Named page
A named @page rule applied to specific elements using the page property. Allows different page geometry for different document sections — chapter openers can have a larger head margin, front matter can have roman numeral folios, back matter can have different running headers.→ Chapter 16
Old-style numerals
Numerals with varying heights, some extending to the cap height, some sitting on the baseline, and some descending below it — designed to integrate into running lowercase text without visual disruption. Also called text numerals or lowercase numerals. Activated with font-variant-numeric: oldstyle-nums or font-feature-settings: "onum" 1.→ Chapter 10
OpenType
A font format developed jointly by Adobe and Microsoft that allows a single font file to contain multiple alternate letterforms, contextual substitutions, and typographic refinements. OpenType features are accessed in CSS through font-feature-settings and the font-variant-* family of properties.→ Chapter 10
Orphan
A single line of a paragraph at the bottom of a page, separated from the rest of the paragraph that continues on the next page. Considered a typographic error. Controlled with the orphans CSS property, which specifies the minimum number of lines that must appear at the bottom of a page.→ Chapter 18

P – R

Page furniture
The collective term for recurring navigational elements on a page — running headers, folios, and section markers — that are not part of the primary content but help the reader locate themselves within the document. In Paged.js, page furniture is placed using margin box declarations within @page rules.→ Chapter 17
PDF/X
A family of PDF standards designed for reliable print exchange. PDF/X-1a requires all colors in CMYK or spot colors. PDF/X-4 allows RGB with embedded ICC color profiles. Chromium's standard PDF output is not PDF/X-conformant; conversion using Ghostscript or Acrobat Pro is required for PDF/X submission to commercial printers.→ Chapter 19, Chapter 24
Preflight
The systematic check of a PDF file against a printer's or publisher's technical requirements before printing. Covers page dimensions, font embedding, color mode, image resolution, bleed and crop marks. Named after the aviation pre-flight checklist.→ Chapter 19
Pull quote
A short extract from the article's body text, set in a visually prominent style and placed within or alongside the column as both a visual anchor and a reading incentive. Distinct from a block quotation, which is a primary source citation; a pull quote is a secondary display of text already in the document.→ Chapter 22
Recto / Verso
In a book spread, the recto is the right-hand page (always odd-numbered) and the verso is the left-hand page (always even-numbered). Chapter openers are conventionally always on recto pages. Running headers on recto and verso pages conventionally carry different content. Targeted in CSS with @page :right and @page :left.→ Chapter 14, Chapter 17
rem
Root em — a CSS length unit equal to the font size of the root element (html). Unlike em, rem does not compound through nested elements: 1rem always equals the root font size regardless of where it is used. The preferred unit for type scale custom properties in document CSS.→ Chapter 8
Running header
A line of text appearing at the top of every page (or every page of a section) identifying the reader's current position — typically the book title on verso pages and the chapter title on recto pages. Set using string-set to capture titles from the content and string() to display them in @page margin boxes.→ Chapter 17

S – Z

Safe zone
The area within the trim edge of a page, typically 5mm in from all four sides, within which all text and important design elements must remain to ensure they are not cut off by trimming imprecision. Distinct from the bleed zone (outside the trim edge) and the margin (the designer-determined space between the safe zone and the text area).→ Chapter 19
Small capitals
Capital letterforms drawn at approximately the x-height, rather than at full cap height. Designed to integrate into running text without the visual disruption of full-size capitals. True small capitals are drawn specifically for the purpose; mechanically scaled capitals produce spindly, light forms. Activated with font-variant-caps: small-caps or all-small-caps.→ Chapter 10
Tabular numerals
Numerals that are all the same width, so that columns of numbers align vertically regardless of which digits appear. Essential for data tables; inappropriate for body text, where proportional numeral widths produce more natural word spacing. Activated with font-variant-numeric: tabular-nums or font-feature-settings: "tnum" 1.→ Chapter 10, Chapter 21
Tracking
A uniform adjustment to the spacing between all characters in a run of text. Controlled in CSS with letter-spacing. Tracking is appropriate for text set in all capitals or small capitals (where it is required) and for display text at large sizes. Tracking body text in mixed case is incorrect and reduces legibility. Distinct from kerning, which adjusts specific pairs.→ Chapter 9
Trim
The finished page dimensions after cutting — the actual size of the printed and trimmed page. Specified in the @page { size: … } declaration. Distinct from the media box (which includes the bleed) and the safe zone (which is inset from the trim).→ Chapter 19
Type scale
A set of type sizes derived from a base size and a consistent ratio, defining the typographic hierarchy of a document. Implemented in CSS as a series of custom property values (e.g., --text-base: 1.175rem; --text-lg: 1.65rem;) referenced throughout the stylesheet to ensure proportional consistency.→ Chapter 8
Variable font
A font file that contains not one typeface but a continuous range of variations along one or more design axes — most commonly weight (wght), but also width, optical size, and custom axes. A single variable font file replaces multiple static font files. In CSS, axes are accessed through font-weight, font-stretch, and font-variation-settings.→ Chapter 10, Chapter 11
Widow
A single short line at the top of a page, the last line of a paragraph that ended on the previous page. Considered a typographic error. Controlled with the widows CSS property, which specifies the minimum number of lines that must appear at the top of a page after a page break within a paragraph.→ Chapter 18
x-height
The height of lowercase letters, measured from the baseline to the top of letters without ascenders — typically measured against the letter x. A typeface with a large x-height relative to its cap height will read larger at the same point size than one with a small x-height, and will typically require slightly more line-height to prevent lines from appearing cramped.→ Chapter 6, Chapter 9
← Chapter Twenty-six Maintaining and Updating Documents