Apple Advanced Typography names a typographic effect with two 16-bit numbers: a
feature type, the general class of effect, and a selector (also called a
setting), the particular one. The Font Feature Registry lists the numbers Apple has
assigned. A font declares the ones it offers in its
feat table and connects them to
glyph changes in morx or
mort.
Rules
- An exclusive feature has one selector in force at a time.
- A nonexclusive feature may have several. Its selectors come in pairs: an even number turns a setting on and the odd number after it turns it off. The tables below give the even number.
- Feature types greater than 255 are reserved for a font’s own features, which it names in
featandname. - The registry is not a complete list of pairs: fonts may use selectors of their own.
Settings marked “deprecated” are ones the registry deprecates or discourages. “E” is exclusive and “N” nonexclusive.
Ligatures, letters and layout
| Type | Feature | Kind | Selectors |
|---|---|---|---|
| 0 | All Typographic Features | N | 0 All Typographic Features. |
| 1 | Ligatures | N | 0 Required Ligatures; 2 Common Ligatures; 4 Rare Ligatures; 6 Logos (deprecated); 8 Rebus Pictures; 10 Diphthong Ligatures; 12 Squared Ligatures; 14 Squared Ligatures, Abbreviated; 16 Symbol Ligatures; 18 Contextual Ligatures; 20 Historical Ligatures. |
| 2 | Cursive Connection | E | 0 Unconnected; 1 Partially Connected; 2 Cursive. |
| 3 | Letter Case (deprecated; use types 37 and 38) | E | 0 Upper & Lower Case; 1 All Caps; 2 All Lower Case; 3 Small Caps; 4 Initial Caps; 5 Initial Caps and Small Caps. |
| 4 | Vertical Substitution | N | 0 Vertical Substitution. |
| 5 | Linguistic Rearrangement | N | 0 Linguistic Rearrangement. |
| 8 | Smart Swash | N | 0 Word Initial Swashes; 2 Word Final Swashes; 4 Line Initial Swashes (deprecated, not supported by Core Text); 6 Line Final Swashes (deprecated); 8 Non-Final Swashes. |
| 9 | Diacritics | E | 0 Show Diacritics; 1 Hide Diacritics; 2 Decompose Diacritics. |
| 10 | Vertical Position | E | 0 No Vertical Position; 1 Superiors; 2 Inferiors; 3 Ordinals; 4 Scientific Inferiors. |
| 11 | Fractions | E | 0 No Fractions; 1 Vertical Fractions; 2 Diagonal Fractions. |
| 13 | Overlapping Characters | N | 0 Overlap Prevention. |
| 14 | Typographic Extras | N | 0 Hyphens to Em Dash (deprecated); 2 Hyphen to En Dash (deprecated); 4 Unslashed Zero; 6 Form Interrobang (deprecated); 8 Smart Quotes (deprecated); 10 Periods to Ellipsis (deprecated). |
| 15 | Mathematical Extras | N | 0 Hyphen To Minus (deprecated); 2 Asterisk to Multiply (deprecated); 4 Slash to Divide (deprecated); 6 Inequality Ligatures (deprecated); 8 Exponents (deprecated); 10 Mathematical Greek. |
| 27 | Unicode Decomposition | N | 0 Canonical Composition; 2 Compatibility Composition; 4 Transcoding Composition. |
| 33 | Case Sensitive Layout | N | 0 Case Sensitive Layout; 2 Case Sensitive Spacing. |
| 36 | Contextual Alternates | N | 0 Contextual Alternates; 2 Swash Alternates; 4 Contextual Swash Alternates. |
| 37 | Lower Case | E | 0 Default Lower Case; 1 Lower Case Small Caps; 2 Lower Case Petite Caps. |
| 38 | Upper Case | E | 0 Default Upper Case; 1 Upper Case Small Caps; 2 Upper Case Petite Caps. |
Numbers, styles and alternates
| Type | Feature | Kind | Selectors |
|---|---|---|---|
| 6 | Number Spacing | E | 0 Monospaced Numbers; 1 Proportional Numbers; 2 Third-width Numerals; 3 Quarter-width Numerals. |
| 16 | Ornament Sets | E | 0 None; 1 Dingbats; 2 Pi Characters; 3 Fleurons; 4 Decorative Borders; 5 International Symbols; 6 Math Symbols. |
| 17 | Character Alternatives | E | 0 should be “No Alternates”; the others are sets of glyphs that the font chooses and names. |
| 18 | Design Complexity | E | 0 to 4: Design Level 1 to Design Level 5. |
| 19 | Style Options | E | 0 No Style Options; 1 Display Text; 2 Engraved Text; 3 Illuminated Caps; 4 Titling Caps; 5 Tall Caps. |
| 21 | Number Case | E | 0 Lower Case Numbers; 1 Upper Case Numbers. |
| 22 | Text Spacing | E | 0 Proportional; 1 Monospace; 2 Half-width; 3 Third-width; 4 Quarter-width; 5 Alternate Proportional; 6 Alternate Half-width. |
| 24 | Annotation | E | 0 No Annotation; then the annotations 1 Box; 2 Rounded Box; 3 Circle; 4 Inverted Circle; 5 Parenthesis; 6 Period; 7 Roman Numeral; 8 Diamond; 9 Inverted Box; 10 Inverted Rounded Box. |
| 35 | Stylistic Alternatives | N | 0 No Stylistic Alternates; 2, 4, 6 and so on to 40: Stylistic Alt One to Stylistic Alt Twenty. It is the AAT equivalent of the OpenType features ss01 to ss20. |
Chinese, Japanese and Korean
| Type | Feature | Kind | Selectors |
|---|---|---|---|
| 20 | Character Shape | E | 0 Traditional Glyphs; 1 Simplified Glyphs; 2 JIS 1978 Glyphs; 3 JIS 1983 Glyphs; 4 JIS 1990 Glyphs; 5 to 9 Traditional Glyphs, Alternative Sets 1 to 5; 10 Expert Glyphs; 11 JIS 2004 Glyphs; 12 Hojo Glyphs; 13 NLC Glyphs; 14 Traditional Names. |
| 23 | Transliteration | E | 0 No Transliteration. All others are deprecated: 1 Hanja to Hangul; 2 Hiragana To Katakana; 3 Katakana To Hiragana; 4 Kana To Romanization; 5 Romanization To Hiragana; 6 Romanization To Katakana; 7 to 9 Hanja To Hangul Alt One to Three. |
| 25 | Kana Spacing | E | 0 Full Width; 1 Proportional. |
| 26 | Ideographic Spacing | E | 0 Full Width; 1 Proportional; 2 Half Width. |
| 28 | Ruby Kana | N | 0 No Ruby Kana (deprecated); 1 Ruby Kana (deprecated); 2 Ruby Kana (on, with 3 off). |
| 29 | CJK Symbol Alternatives | E | 0 No CJK Symbol Alternatives; 1 to 5: CJK Symbol Alt One to Five. |
| 30 | Ideographic Alternatives | E | 0 No Ideographic Alternatives; 1 to 5: Ideographic Alt One to Five. |
| 31 | CJK Vertical Roman Placement | E | 0 CJK Vertical Roman Centered; 1 CJK Vertical Roman H Baseline. |
| 32 | Italic CJK Roman | N | 0 No CJK Italic Roman (deprecated); 1 CJK Italic Roman (deprecated); 2 CJK Italic Roman (on, with 3 off). |
| 34 | Alternate Kana | N | 0 Alternate Horiz Kana; 2 Alternate Vert Kana. |
| 103 | CJK Roman Spacing | E | 0 Half-width; 1 Proportional; 2 Default Roman; 3 Full-width Roman. |
Language Tag
Feature type 39 is exclusive and selects glyphs for a language. A selector other than 0
is one more than an index in the font’s
ltag table, which gives an IETF
language tag. If entry 0 of ltag is sr (Serbian), the pair 39
and 1 asks for Serbian forms.
In the viewer
The viewer names feature types from the registry beside the names the font gives them
in feat. The settings of feat, the feature entries of
morx and mort chains and the feature pairs of
Zapf carry the registry’s selector names, including “off” for the odd
selector of a nonexclusive feature; a morx or mort entry shows
the font’s own setting name first where it has one.
Divergence from spec
In type 14, the registry names selector 4 “Unslashed Zero” and describes it as forcing
the unslashed zero, but gives selectors 4 and 5 the constants
kSlashedZeroOnSelector and kSlashedZeroOffSelector. The page
and the viewer follow the name and description.