a specimen of the typesetting features of OpenType
Ligatures, small capitals, figures and the other small decisions
that make a page easy to read
Most readers never notice good typography; they notice only that a page is easy to read. The work is in details too small to name, and an OpenType font carries them as features: alternate glyphs, and the rules that choose between them.
An fi in a line of 11 point text can collide: the hook of the f runs into the dot of the i. A ligature draws the pair as one shape. Fonts carry a second set for the shapes that are not needed in plain text, and for the printers’ habits of earlier centuries: a ct and an st that are joined by an arc, a long s inside of words.
Figures have the same choice. Set among lowercase letters, the old-style figures 1984, 2026 and 3,471 rise and fall like the letters around them. A table wants figures of one width in a column, and a headline wants capitals’ height. Acronyms like pdf, css and html are set in real small capitals, drawn with the weight of the text, rather than in shrunken capitals that look too light. Fractions such as 3/4, 11/16 and 7/32 have a numerator and a denominator that are set to fit one another.
A browser or a print engine does not guess any of this. The CSS Fonts module gives each choice a name: font-variant-ligatures, font-variant-caps, font-variant-numeric and the other font-variant-* properties for the common ones, and font-feature-settings for everything else, by the four-letter tag of the feature. The engine hands the list to the shaper, in a fixed order of precedence, so that the last word is the one of the designer.
This page is set by Umbruch in EB Garamond, a revival of the Garamond types of the sixteenth century by Georg Duffner and Octavio Pardo. The text has the ligatures on, as is usual, and the figures old-style. The table on the next page puts each feature next to the same words without it, together with the declaration that selects it.
“A good page asks to be read, not looked at.”
In 1784 the Treaty was copied 12 times, in a hand of 7¼ in. lines; by the 2nd of March the 3rd copy had a blot at 1/2 the width of a column. The water in the ink was H2O; the area of the page, 20 × 30 cm, is 600 cm2.
Assistance, still in doubt: the strict Queen slept in the Island of Jealousy and passion.
* * *
Set by Umbruch from HTML and css. Typeface: EB Garamond (Georg Duffner, Octavio Pardo; sil ofl). The text uses font-variant-numeric: oldstyle-nums, font-variant-caps, font-variant-ligatures, font-variant-position and font-feature-settings.
the declarations, the features and their effect
| Feature | CSS | Off | On |
|---|---|---|---|
| Ligatures | |||
| Standard ligatures | font-variant-ligatures: none | office fluffy affix | office fluffy affix |
| Discretionary ligatures | font-variant-ligatures: discretionary-ligatures | The strict acts; Thy stock | The strict acts; Thy stock |
| Historical forms | font-feature-settings: "hist" | Jealousy, Island, passion | Jealousy, Island, passion |
| Kerning | font-kerning: none | AVATAR To Ty Wa | AVATAR To Ty Wa |
| Capitals | |||
| Small capitals | font-variant-caps: small-caps | Hamburgefonstiv | Hamburgefonstiv |
| All small capitals | font-variant-caps: all-small-caps | NASA and Typography | NASA and Typography |
| Petite capitals | font-variant-caps: all-petite-caps | Petite Capitals | Petite Capitals |
| Case-sensitive forms | font-feature-settings: "case" | (BERLIN–PARIS) [VIA] ¡OLÉ! | (BERLIN–PARIS) [VIA] ¡OLÉ! |
| Swash capital | font-feature-settings: "swsh" | Quiet Quince | Quiet Quince |
| Figures | |||
| Lining and old-style | font-variant-numeric: lining-nums | 1234567890 in 1984 | 1234567890 in 1984 |
| Tabular and proportional | font-variant-numeric: tabular-nums | 1,111.11 9,999.89 1,001.01 | 1,111.11 9,999.89 1,001.01 |
| Fractions | font-variant-numeric: diagonal-fractions | 1/2 3/4 11/16 7/32 | 1/2 3/4 11/16 7/32 |
| Ordinals | font-variant-numeric: ordinal | 1a 2o N°5 1st 2nd | 1a 2o N°5 1st 2nd |
| Superiors and inferiors | |||
| Superscript | font-variant-position: super | E = mc2, x2 + y2 | E = mc2, x2 + y2 |
| Subscript | font-variant-position: sub | H2O, CO2, x1 + x2 | H2O, CO2, x1 + x2 |
| Stylistic sets | |||
| Fleurons (ss04) | font-feature-settings: "ss04" | * ( > | * ( > |
| Arrows by name (ss03) | font-feature-settings: "ss03" | arrowright northeast | arrowright northeast |
Every row is the same text twice; only the declaration of the CSS column differs (for the superiors and inferiors it applies to the digits). font-variant-* properties and font-feature-settings are inherited, the font shorthand resets them, and the settings come last in the list that the shaper gets, so font-feature-settings: "liga" 0 wins over font-variant-ligatures: common-ligatures.