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

[Experimental] API for layout-stability of variation axes changes? #4639

Open
drott opened this issue Mar 26, 2024 · 1 comment
Open

[Experimental] API for layout-stability of variation axes changes? #4639

drott opened this issue Mar 26, 2024 · 1 comment

Comments

@drott
Copy link
Collaborator

drott commented Mar 26, 2024

From an explorative chat between @behdad and @drott:

If we were able to tell whether a variation axis change affects layout or not (important metrics: horizontal or vertical advance width, ascent, descent & glyph variations: rvrn...other?) then there is the potential to skip layout and animate only the glyph shape, allowing a rendering engine to skip layout for a variation axis change.

@behdad mentions it's theoretically possible to add API to HarfBuzz to determine whether axes trigger layout-sensitive changes.

Leaving this here to track, if we decide to come back to it.

@behdad
Copy link
Member

behdad commented Mar 31, 2024

I agree it probably be very hard for platforms to embrace such API. Leaving it around for a while to see if I can get to it.

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

No branches or pull requests

2 participants