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

remove spurious continue in _bracket_info() #984

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

anthrotype
Copy link
Member

this if branch was never true because of a typo (the author probably meant to compare axis.minimum with 'axis_min' instead of 'axis_max'); but besides that, even if we did fix the typo, it would be incorrect to ignore such an explict always-true axis rule where both min and max are explicitly declared and are equal to the axis min/max. Glyphs.app exports a GSUB with a FeatureVariation table with an empty condition set (which means always apply), and fontmake does the same.

The PR doesn't change anything, only removes code that's never evaluated so no functional change.

this if branch was never true probably because of a typo (the author probably meant to compare axis.minimum with 'axis_min'  instead of 'axis_max'), besides it would be incorrect to ignore such an always-true axis rule.
@anthrotype anthrotype merged commit c7a7358 into main Feb 12, 2024
10 checks passed
@anthrotype anthrotype deleted the fix-full-bracket-range branch February 12, 2024 15: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.

1 participant