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

figure out API/alloc situation for avar2 #1148

Open
cmyr opened this issue Sep 10, 2024 · 0 comments
Open

figure out API/alloc situation for avar2 #1148

cmyr opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cmyr
Copy link
Member

cmyr commented Sep 10, 2024

We currently only support avar2 for tons of up to 64 axes, because otherwise we need to allocate and we haven't decided yet who is going to be responsible for that.

Yes, avar2 fundamentally requires allocation. Though I think we can cover 100% of real world fonts by attempting allocation on the stack first. An array of size 64 is probably of reasonable size. If you’d prefer not to add that here, I’ll do it as a follow up.

Originally posted by @dfrg in #1120 (comment)

@cmyr cmyr added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant