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] tthint: adjust DELTAP/DELTAC limits #1353

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

dfrg
Copy link
Member

@dfrg dfrg commented Feb 11, 2025

We limited these to point count/cvt size respectively but there are fonts (Arial is one) where these limits are not sufficient. Notably, you can have one exception per point/entry and ppem so we can't use these counts for hard limits.

Instead limit both to (stack_size / 2) since each iteration requires two elements from the stack.

We limited these to point count/cvt size respectively but there are fonts (Arial is one) where these limits are not sufficient. Notably, you can have one exception per point/entry _and_ ppem so we can't use these counts for hard limits.

Instead limit both to `(stack_size / 2)` since each iteration requires two elements from the stack.
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.

godspeed 🫡

@dfrg dfrg merged commit 24fb1c8 into main Feb 11, 2025
10 checks passed
@dfrg dfrg deleted the adjust-delta-limits branch February 11, 2025 20: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.

2 participants