source-foundry / Slice

An open-source, cross-platform GUI app to generate custom font design spaces from variable fonts
https://slice-gui.netlify.app/
GNU General Public License v3.0
158 stars 9 forks source link

[Win 10] woff and woff2 output files have an inappropriate .ttf extension appended #35

Open chrissimpkins opened 3 years ago

chrissimpkins commented 3 years ago

During testing of the v0.6.0 release that added woff and woff2 format support, I came across an issue with the output file extensions in Win 10. When I enter an output file path of test.woff or test.woff2 with the proper input file format, the file write is on the path test.woff.ttf or test.woff2.ttf. This seems to be something that Win OS is doing on its end from what I can tell. Requires further investigation.

Related #34