question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to decode downloaded font: <URL>

See original GitHub issue

Seeing a warning in the console.

Screen Shot 2021-05-29 at 6 41 30 PM
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/ttf/Inter-Regular.ttf
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/ttf/Inter-Medium.ttf
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff/Inter-Regular.woff
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff/Inter-Medium.woff
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff2/Inter-Regular.woff2
projects:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff2/Inter-Medium.woff2
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/ttf/Inter-Light.ttf
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/ttf/Inter-Bold.ttf
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff/Inter-Light.woff
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff/Inter-Bold.woff
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff2/Inter-Light.woff2
:1 Failed to decode downloaded font: https://thenewboston.com/fonts/Inter/web/woff2/Inter-Bold.woff2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jamessspangggcommented, Jun 19, 2021

hi @avinashupadhya99 I’m already working on this to pre-load the fonts

0reactions
avinashupadhya99commented, Jun 19, 2021

I found that copying the fonts folder to the public folder as well and changing the path for the fonts from ./fonts/ to fonts/ removed the warnings when run locally. I haven’t tested it after deploying. Let me know if this solution is alright, I can make a PR for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to decode downloaded font - css - Stack Overflow
"Failed to decode downloaded font" means the font is corrupt, or is incomplete (missing metrics, necessary tables, naming records, a million ...
Read more >
Error: Failed to decode downloaded font: <URL> #2 - GitHub
Hi Adrian, I am getting this error in console, when I try to use the plugin. The fonts don't show but the bundle...
Read more >
CSS - Custom fonts returns "Failed to decode downloaded font"
I added custom webfonts to my wordpress site, but they return a “Failed to decode downloaded font” error when i check it in...
Read more >
Failed to decode downloaded font ( woff and ttf ) - Vue Forum
In our project we habe a css file with references to font files. When I open the page in the browser the following...
Read more >
uploading custom font to assets folder not working
I have uploaded custom fonts to several projects before, but now when I try to do the same on a new project, there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found