-
This page lists errata from the book (hopefully not too much!), changes to the specifications since publication, and brand new features.
Categories
The font-feature-settings property introduced in Chapter 5 has changed slightly since publication of the book, and is now implemented in more browsers. The tweaked syntax now looks like this:
E { font-feature-settings: "feature" flag; }
The feature value is the four-letter code for each OpenType feature; dlig, kern, liga, etc. The flag is a number, 0 or 1, to show whether the feature is enabled or disabled. So to disable kerning, the new rule is this:
E { font-feature-settings: "kern" 0; }
As the flag is Boolean, to enable a feature you can supply no value:
E { font-feature-settings: "liga"; }
As before, you can give multiple values in a comma-separated list:
E { font-feature-settings: "dlig", "kern" 0, "liga"; }
The new syntax will be introduced in Firefox 15 (still with the –moz– prefix), is available in Chrome (Linux and Windows only, with the –webkit– prefix) and unprefixed in IE10.
The support tables in Chapter 5 and Example 05-08_09 have been updated with the new syntax.
— 8 July, 2012