Topic: Failed to decode downloaded font: http://... for Roboto family fonts
egglet_prem pro asked 6 years ago
cmykprnt pro answered 6 years ago
Mikołaj Smoleński staff commented 6 years ago
Hello, We'll try to fix it in the future. Probably the warning is connected with the path to font folder in mdb.css file. RegardsMikołaj Smoleński staff answered 6 years ago
egglet_prem pro commented 6 years ago
Thanks for your reply, Mikolaj. I didn't quite understand you. I had saved the MDB files to the public/css and public/js folders. Everything works fine except for these warnings relating to Roboto font. I don't have multiple copies of MDB within the react project. Please advise.Mikołaj Smoleński staff commented 6 years ago
It's interesting, because on our devices this problem does not appear. Is it possible to send Your zipped project to m.smolenski@mdbootstrap.com?Marta Wierzbicka staff answered 6 years ago
egglet_prem pro commented 6 years ago
Hi Marta, Apologies for the delayed response. Yes, those warnings appear in the console log. I am using MDB within a REACT app. These warnings appear each time the page renders. When I click on the url for the fonts within the chrome console/dev tools, the font files are displayed without any issue. Below, I paste what I see in my console log. Many thanks. ================ Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Medium.woff2 search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Regular.woff2 search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Light.woff2 search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Medium.woff search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Regular.woff search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Light.woff search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Medium.ttf search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Regular.ttf search:1 OTS parsing error: invalid version tag search:1 Failed to decode downloaded font: http://localhost:3000/font/roboto/Roboto-Light.ttf search:1 OTS parsing error: invalid version tagFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: Other
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No