Better document rule processing order

Close #2040
This commit is contained in:
Fredrick Brennan 2020-08-12 09:33:41 -07:00 committed by GitHub
parent 81d0042a9e
commit 66a40e039d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,8 @@ RuleDescriptor object
- Each condition is a dict with ``name``, ``minimum`` and ``maximum`` keys.
- ``subs``: list of substitutions
- Each substitution is stored as tuples of glyphnames, e.g. ("a", "a.alt").
- Note: By default, rules are applied *before* text shaping/OpenType layout. See
`5.0 rules element`_.
Evaluating rules
----------------
@ -849,6 +851,7 @@ glyphname pairs: the glyphs that need to be substituted. For a rule to be trigge
**only one** of the conditionsets needs to be true, ``OR``. Within a conditionset
**all** conditions need to be true, ``AND``.
.. attributes-11:
Attributes
----------