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

Fix variable GDEF building #821

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Fix variable GDEF building #821

merged 2 commits into from
Feb 27, 2024

Conversation

simoncozens
Copy link
Contributor

This is an obscure one. If you're building a variable font and a glyph has its ligature carets at the same position across masters, the caret value will be collapsed (by collapse_varscalar inside of getAnchor) into an int, and the current sort function won't work. We need a sort function which can sort both variable and static scalars.

@anthrotype
Copy link
Member

+1 for small test if not too much trouble, thanks

@simoncozens simoncozens merged commit f6b4f42 into main Feb 27, 2024
9 checks passed
@khaledhosny khaledhosny deleted the fix-variable-carets branch March 23, 2024 09:45
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