10000 Fix OS/2.usMaxContext for reverse GSUB rules by dscorbett · Pull Request #3569 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix OS/2.usMaxContext for reverse GSUB rules #3569

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

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

dscorbett
Copy link
Member

This PR fixes maxCtxContextualRule, which was returning too high results for reverse chaining contextual single substitutions. Its GlyphCount field is the number of glyphs in the coverage table, not the number of glyphs in the input sequence. The input sequence is always 1 glyph long because it is a reverse chaining contextual single substitution.

@behdad behdad merged commit aa390ec into main Jun 17, 2024
11 checks passed
@behdad behdad deleted the usMaxContext-rsub branch June 17, 2024 03:37
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.

2 participants
0