Skip to content

Commit

Permalink
Add "sub A by NULL" to specification
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored and kaydeearts committed Feb 3, 2021
1 parent 1de53e7 commit 55a62f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/OpenTypeFeatureFileSpecification.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ contexts.
[`MarkAttachmentType`](#4.d)<br>
[`markClass`](#4.f)<br>
[`nameid`](#9.e)<br>
`NULL` (used in [device](#2.e.iii), [value record](#2.e.iv), [anchor](#2.e.vii))<br>
`NULL` (used in [substitute](#5.a), [device](#2.e.iii), [value record](#2.e.iv), [anchor](#2.e.vii))<br>
[`parameters`](#4.c)<br>
[`pos`](#6)<br>
[`position`](#6)<br>
Expand Down Expand Up @@ -1558,6 +1558,13 @@ substitute c by C.sc;
substitute z by Z.sc;
```

If the replacement glyph is the reserved word `NULL`, then the substitution
has no replacement, removing the input glyph from the glyph sequence:

```fea
substitute a by NULL;
```

<a name="5.b"></a>
### 5.b. [GSUB LookupType 2] Multiple substitution

Expand Down

0 comments on commit 55a62f2

Please sign in to comment.