Skip to content

Don't crash if a variable font has no STAT table#5027

Merged
felipesanches merged 1 commit intomainfrom
fix-varfont-no-STAT
Jun 12, 2025
Merged

Don't crash if a variable font has no STAT table#5027
felipesanches merged 1 commit intomainfrom
fix-varfont-no-STAT

Conversation

@jenskutilek
Copy link
Copy Markdown
Contributor

check_varfont_STAT_axis_record_for_each_axis crashed when a variable font has no STAT table. This PR skips the check if there is no STAT table.

The STAT table is required for a variable font, but this is already checked in the required_tables check.

@jenskutilek jenskutilek requested a review from felipesanches June 5, 2025 09:28
@felipesanches felipesanches merged commit ed26b2f into main Jun 12, 2025
76 checks passed
@jenskutilek jenskutilek deleted the fix-varfont-no-STAT branch September 2, 2025 10:15
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