Errata in the first edition of Web Typography by Richard Rutter.
Page numbers refer to the print edition. The latest version (v1.1.0) of the ebook contains clarifications and corrections to these errata. If you spot a mistake please let me know at firstname.lastname@example.org. Thank you to those who have already been in touch, in particular Elika Etemad.
The following are errors in the print edition.
Pages 84, 167, 170
The OpenType tag for historical ligatures is
text-decorationcode sample as it is not allowed here and should be applied (at some point in the future) using the
text-decoration-widthproperty. The updated code sample is:
Code sample chemical formula should be subscripts not superscripts.
Pages 166, 168, 169
font-variant-alternatesproperty, when used with
styleset, requires use of a
@font-feature-valuesrule as these are font-specific variants. See completely rewritten section of ebook for a full explanation.
To use to a variable font as a web font, you should set the file format to
Development browsers now support both
truetype-variations, so the font format no longer needs to be
Safari 11 on MacOS 10.13 supports variable fonts, as does Mobile Safari on iOS 11.
The following are clarifications to the print edition.
Pages 19, 32
Corrected that pixels have always been relative to the reference pixel (this was not introduced in CSS2 as stated).
<meta charset>is HTML5, and added that you can use HTTP headers to set character encodings.
Pages 107, 108
Added details about the
hanging-punctuationproperty, including updating the example code:
Also updated selectors in the hanging quotes example to cope with multiple paragraphs:
Tweaked example margin.
vertical-align:baseline, as on the off-chance the parent element has
vertical-align:something-else, the example will break. (The
vertical-alignproperty doesn't inherit, so unsetting it uses the initial value, not inheritance.)
Updated table to better imply that all values of
feature-value-nameas specified in a
Clarification: “if your column height extends beyond the viewport”.
Added details of
system-uigeneric font family. In short, use it ahead of
-apple-systemfor a more cross-browser, standards-based approach to specifying the system font.
Typo in penultimate paragraph: "but none supports".
Pages 325, 326
Additions to CSS index: