8000 [ttLib] TTFont.save: create file on disk as late as possible by justvanrossum · Pull Request #2253 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ttLib] TTFont.save: create file on disk as late as possible #2253

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

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

justvanrossum
Copy link
Collaborator

In TTFont.save(): create the file on disk only after compilation to tmp stream succeeded. This fixes #536.

@behdad
Copy link
Member
behdad commented Mar 31, 2021

LGTM FWIW.

@justvanrossum justvanrossum merged commit 21826f5 into fonttools:main Mar 31, 2021
@justvanrossum justvanrossum deleted the fix-536 branch March 31, 2021 18:27
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.

file created too early in TTFont.save()
2 participants
0