romgere / text2stl

3D text generator for 3D printing. EmberJs / Typescript / Three.js
https://text2stl.mestres.fr
43 stars 14 forks source link

fix: ignore mime type control when file have no mime type #88

Closed romgere closed 1 year ago

romgere commented 1 year ago

Sometime (on windows only?) when selecting a font file, the file have no mime type & it prevent the file to be use as font givent there's a mime type check on file-upload component.

The mime type control is now ignore when the file doesn't have mime type & the font will fail to load if it's not a valid font file.

romgere commented 1 year ago

https://deploy-preview-88--text2stl.netlify.app/

romgere commented 1 year ago

Test with Belle Allure (https://www.dafont.com/fr/search.php?q=belle+allure) on Windows computer ✅