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: Only apply avar table to the variation axis being set #175

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

maxmelander
Copy link
Contributor

There is an issue in Rustybuzz where calling set_variations which internally calls set_variation multiple time will cause the avar table to be applied to the same coordinate value multiple times. This causes the wrong values to be set.

This is an attempt at a fix that by only applying the avar table to the coordinate currently being set.

Fixes harfbuzz/rustybuzz#136

Max Melander added 3 commits October 3, 2024 16:41
There is an issue in Rustybuzz where calling set_variations
which internally calls set_variation multiple time will cause
the avar table to be applied to the same coordinate value
multiple times. This causes the wrong values to be set.
@RazrFalcon RazrFalcon merged commit 1cac7c7 into harfbuzz:master Oct 3, 2024
1 of 2 checks passed
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.

hb_font_t::set_variations sets wrong coordinate values for fonts with avar tables and multiple axes
2 participants