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

Fixed some errors in STAT table implementation #4579

Merged
merged 1 commit into from Feb 10, 2024

Conversation

chrsan
Copy link

@chrsan chrsan commented Feb 9, 2024

  • Fixed wrong return type for AxisValue::get_value (bool -> float)
  • Getting the actual axis value must add offsetToAxisValueOffsets to the offset for the axis value table

@@ -349,7 +349,7 @@ struct AxisValueFormat4

struct AxisValue
{
bool get_value (unsigned int axis_index) const
Copy link
Collaborator

@ebraminio ebraminio Feb 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😳😢

Thanks for fixing this 😊

@behdad behdad merged commit 1ab8822 into harfbuzz:main Feb 10, 2024
22 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.

None yet

3 participants