bankai
bankai copied to clipboard
🐛 `Failed to decode downloaded font` for served CSS fonts
🐛 bug report
Expected Behavior
Browsers should be able to decode fonts referred to by a CSS file.
Current Behavior
Warnings displayed on Chrome:
Failed to decode downloaded font: https://dew-glove.glitch.me/8253c766e445323b/MaterialIcons-Regular.woff2
OTS parsing error: invalid version tag
Font didn't render.
Font resource when clicked-through shows binary data in base64.
Possible Solution
Maybe the font shouldn't be served encoded in base64?
Context
Following the advice on #55 to load external stylesheets led me to this issue.
Code Sample
Your Environment
Software | Version(s) |
---|---|
Package | 9.11.1 |
Runtime | node 9.10.0 |
Package Manager | npm 6.0.0 |
Operating System | Windows 10 |
Hmm, I don't see the font being served as base64 but instead get an HTML page from bankai. of course neither is correct :D
I think we need some sheetify plugin that puts the things used inside url()s in the correct place.