How to check if a font has been modified? #2667
-
When performing operations on fonts, is there a simple way to detect if a font has been modified?
I'd like to avoid saving a font if hasn't been modified (in the example, if usWeightClass value was already 300 the font must not be saved) |
Beta Was this translation helpful? Give feedback.
Answered by
anthrotype
Jun 23, 2022
Replies: 1 comment 1 reply
-
No, that's not possible, unless we were to add some magic that intercepts setattr, setitem, etc. throughout the lib to watch for any changes (which I think would be overkill). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ftCLI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, that's not possible, unless we were to add some magic that intercepts setattr, setitem, etc. throughout the lib to watch for any changes (which I think would be overkill).