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

Old kern writer: Convert groups back #845

Merged
merged 2 commits into from
May 24, 2024
Merged

Conversation

madig
Copy link
Collaborator

@madig madig commented May 23, 2024

This fixes an oversight in #841.

The kerning pair sides have to be converted back to fea AST classes. Since groups aren't filtered in getVariableKerningPairs, it should hopefully be okay to just grab them by their members 😬

@madig madig force-pushed the fix-kerning-pair-conversion branch from 5968262 to d3eeee0 Compare May 24, 2024 08:52
@madig madig marked this pull request as ready for review May 24, 2024 08:52
@madig
Copy link
Collaborator Author

madig commented May 24, 2024

I don't understand the test failure... it werks on my local machine? Is there a accidental un-sorting problem hiding in there?

@anthrotype
Copy link
Member

You could try re running the CI manually
If it then passes we know there is some in-determinism hiding somewhere

@madig
Copy link
Collaborator Author

madig commented May 24, 2024

Ah yes, running it multiple times locally makes it crash occasionally. Let's see.

@anthrotype
Copy link
Member

feel free to merge this when ready

@madig madig merged commit df592b1 into main May 24, 2024
9 checks passed
@madig madig deleted the fix-kerning-pair-conversion branch May 24, 2024 16:47
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