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

[skrifa] hinting mode changes/remove feature gate #710

Merged
merged 4 commits into from
Nov 17, 2023
Merged

[skrifa] hinting mode changes/remove feature gate #710

merged 4 commits into from
Nov 17, 2023

Conversation

dfrg
Copy link
Member

@dfrg dfrg commented Nov 17, 2023

  • removes the hinting feature gate
  • adds a None variant to Hinting enum to use as a replacement for Option<Hinting> so call sites taking this as a parameter have greater clarity
  • updates the TrueType memory functions to take Hinting rather than bool

Fixes #708

Depends on #709

dfrg added 2 commits November 16, 2023 20:46
No functional changes. Just some much needed renaming and code shuffling.
- removes the hinting feature gate
- adds a `None` variant to `Hinting` enum to use as a replacement for `Option<Hinting>` so call sites taking this as a parameter have greater clarity
- updates the TrueType memory functions to take `Hinting` rather than `bool`

Fixes #708
Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

This looks like a nice clarifying change :)

Base automatically changed from glyf-cleanup to main November 17, 2023 18:20
@dfrg dfrg merged commit 442cc4c into main Nov 17, 2023
9 checks passed
@dfrg dfrg deleted the hinting-mode branch November 17, 2023 18:32
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.

[skrifa/glyf] pass hinting mode instead of bool to buffer size method
2 participants