Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Failed to decode downloaded font for served CSS fonts #478

Open
seangenabe opened this issue May 1, 2018 · 1 comment
Open

🐛 Failed to decode downloaded font for served CSS fonts #478

seangenabe opened this issue May 1, 2018 · 1 comment

Comments

@seangenabe
Copy link

🐛 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

Glitch app
Glitch project

Your Environment

Software Version(s)
Package 9.11.1
Runtime node 9.10.0
Package Manager npm 6.0.0
Operating System Windows 10
@goto-bus-stop
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants