Skip to content

Use previous font if feature compilation fails to avoid jarring updates#2480

Merged
justvanrossum merged 8 commits intomainfrom
shaper-update-refactor
Mar 8, 2026
Merged

Use previous font if feature compilation fails to avoid jarring updates#2480
justvanrossum merged 8 commits intomainfrom
shaper-update-refactor

Conversation

@justvanrossum
Copy link
Copy Markdown
Member

This fixes #2469.

If compilation of the shaper font fails, use the old one (if any) instead of falling back to the "dumb" shaper, to avoid jarring breakage of general text shaping.

@justvanrossum justvanrossum changed the title Shaper update refactor Use previous font if feature compilation fails to avoid jarring updates Mar 8, 2026
@justvanrossum justvanrossum merged commit dca20bd into main Mar 8, 2026
4 checks passed
@justvanrossum justvanrossum deleted the shaper-update-refactor branch March 8, 2026 20:17
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.

Keep the last compiled font in there is a syntax error in the feature

1 participant