Iconscout/unicons

OTS parsing error

7aklhz opened this issue Β· 23 comments

Hi,

I'm using uicons with jsdelivr. Lately, I'm getting the following errors
dashboard:1 Failed to decode downloaded font: https://cdn.jsdelivr.net/npm/@iconscout/unicons@4.0.0/fonts/line/unicons-6.woff2 dashboard:1 OTS parsing error: invalid sfntVersion: 1936028172 dashboard:1 Failed to decode downloaded font: https://cdn.jsdelivr.net/npm/@iconscout/unicons@4.0.0/fonts/line/unicons-9.woff2 dashboard:1 OTS parsing error: invalid sfntVersion: 4008750 dashboard:1 Failed to decode downloaded font: https://cdn.jsdelivr.net/npm/@iconscout/unicons@4.0.0/fonts/line/unicons-3.woff2 dashboard:1 OTS parsing error: invalid sfntVersion: -369077877 dashboard:1 Failed to decode downloaded font: https://cdn.jsdelivr.net/npm/@iconscout/unicons@4.0.0/fonts/line/unicons-11.woff2 dashboard:1 OTS parsing error: invalid sfntVersion: 1110126000

Please advise.

Cheers

hey 7aklhz, any luck with this issue?

nope... still there

thanks. console is just full of warnings. using v3.0.1 for now

Hello. Getting the same in Nuxt and using the URL mentioned on the website:

image

same problem using integration code recomended by website with vue.
image

i use <link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css"> in my index.html

Same problem

Same problem

Same problem

Edit: using v3.0.1 fixed but I dont know what icons I will lose

Same problem - I'm using v4.0.0

Same problem!

same problem v4.0.0

@tarunmangukiya: any news on this please ?

Same problem here.

Any chance of a fix? Sure, it's not urgent, but because it fills up the console with warnings it makes it easy to miss other warnings.

Still an issue! Please fix

I also have this problem in unicons 4.0.0
I decided to swap version 4 for version 3.
It works well for me:
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v3.0.0/css/line.css">

daGUY commented

I’m having the exact same issue with 4.0.1. I’m referencing the CSS and font files locally, but I know the paths and everything are correct because the icons display correctly, yet I get the β€œOTS parsing error” for all .woff2 fonts.

Same problem. v4.0.0 line
Chrome: " Failed to decode downloaded font: "
Mozilla: "downloadable font: rejected by sanitizer "

any solution?

has anyone fixed this yet without downgrading the version

YvanL commented

@tarunmangukiya Any news regarding this issue?

Any way we can fix this? If you point us in the right direction, we might be able to contribute and fix it ourselves and open a PR for it @tarunmangukiya

Fixed this issue in the latest patch
please use the latest version 4.0.8 and that will solve this issue.

The actual PR of the fix is #176 which is released with v4.0.8