crowbar
crowbar copied to clipboard
Feature Request - surface rejected font error message?
I tried uploading a particular local test font (can share separately), and the top bar shook briefly in red, indicating the Crowbar was unable to process the font. That was a useful signal, but it would be good to see an error message as a popup, or just in the JS console indicating why the font was rejected.
Will do, although the actual "error" case is trivial:
if (
!name.endsWith(".otf") &&
!name.endsWith(".ttf") &&
!name.endsWith(".ttc") &&
!name.endsWith(".otc")
) {
setShaking(true);
Ah, good to know. In my case, the extension (and format) was .woff2 - will decompress before uploading.