Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better document rule processing order #2041

Merged
merged 2 commits into from
Aug 17, 2020
Merged

Conversation

ctrlcctrlv
Copy link
Contributor

Close #2040

@@ -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`_.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I tried hard but reStructuredText is very hard to use. I can't figure out how to make this link go to § 5.0 rules element but say "the <rules> Attributes section".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's ok, I don't know either :)

@anthrotype anthrotype merged commit 3be7c05 into fonttools:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[otvar] Rule conditionsets conflict with OT layout (shaping)
2 participants