Because that was making other test utils fail on the modified font.
Description
Fixes issue #4671
I didn't change the spirit of what iterate_lookup_list_with_extensions does, but made sure with a try/finally that its changes to the ttFont are undone as soon as the callback returns.
Because that was making other test utils fail on the modified font.
Description
Fixes issue #4671
I didn't change the spirit of what
iterate_lookup_list_with_extensions
does, but made sure with atry/finally
that its changes to the ttFont are undone as soon as the callback returns.Checklist
CHANGELOG.md