The autohint script uses `os.rename` to do file move on Windows · Issue #1097 · googlefonts/gftools · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like another OS compatibility issue like #1096. If I understand correctly, the autohint script aims to be able to overwrite the input file with the autohinted output so user doesn't have to do the rename dance. It achieves this with a os.rename at the end. Unfortunately, os.rename doesn't work on Windows if the target exists. Like the Python doc suggests, maybe replace with shutil.move for better compatibility.
The text was updated successfully, but these errors were encountered:
Looks like another OS compatibility issue like #1096. If I understand correctly, the autohint script aims to be able to overwrite the input file with the autohinted output so user doesn't have to do the rename dance. It achieves this with a
os.rename
at the end. Unfortunately,os.rename
doesn't work on Windows if the target exists. Like the Python doc suggests, maybe replace withshutil.move
for better compatibility.The text was updated successfully, but these errors were encountered: