Materialize: 'Failed to decode downloaded font' since updating to 0.97.7

Created on 25 Jul 2016  路  7Comments  路  Source: Dogfalo/materialize

Since updating to 0.97.7 (on a Meteor project) I'm seeing this error:

activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
activities:1 OTS parsing error: invalid version tag
activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
activities:1 OTS parsing error: invalid version tag
activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.ttf
activities:1 OTS parsing error: invalid version tag
activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
activities:1 OTS parsing error: invalid version tag
activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
activities:1 OTS parsing error: invalid version tag
activities:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.ttf
activities:1 OTS parsing error: invalid version tag

Most helpful comment

This is kinda incredible as I opened an issue 2 months ago, so way before atmosphere's package was updated, and I referenced this issue to told to fix this bug before publishing, but they just didn't change anything, wait 2 months and publish it with this big bug.

All 7 comments

Hmm, I also just updated and stumbled across this bug.

Hi Milts -- see the comment by diegonc near the bottom of #3413 for a workaround the worked for me as well.

This is kinda incredible as I opened an issue 2 months ago, so way before atmosphere's package was updated, and I referenced this issue to told to fix this bug before publishing, but they just didn't change anything, wait 2 months and publish it with this big bug.

I solved it by setting the $roboto-font-path variable. I do use my fork.

+1

What worked for me was adding this line to main.css

@import url('https://fonts.googleapis.com/css?family=Roboto:100,400');
*Pay attention to the weights you need, like 100, 400 etc.

Fixed by #4000

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruslandzhumaev picture ruslandzhumaev  路  3Comments

serkandurusoy picture serkandurusoy  路  3Comments

samybob1 picture samybob1  路  3Comments

lpgeiger picture lpgeiger  路  3Comments

acierpinski picture acierpinski  路  3Comments