unicons icon indicating copy to clipboard operation
unicons copied to clipboard

OTS parsing error

Open 7aklhz opened this issue 3 years ago • 18 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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/fonts/line/unicons-11.woff2 dashboard:1 OTS parsing error: invalid sfntVersion: 1110126000

Please advise.

Cheers

7aklhz avatar Jun 01 '21 05:06 7aklhz

hey 7aklhz, any luck with this issue?

rosiecakes avatar Jun 24 '21 13:06 rosiecakes

nope... still there

7aklhz avatar Jun 25 '21 12:06 7aklhz

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

rosiecakes avatar Jun 25 '21 14:06 rosiecakes

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

image

davestewart avatar Oct 14 '21 08:10 davestewart

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

Tomobodo avatar Oct 14 '21 18:10 Tomobodo

Same problem

FabKaiz avatar Oct 14 '21 19:10 FabKaiz

Same problem

OceanAbernathy avatar Oct 23 '21 00:10 OceanAbernathy

Same problem

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

Mikael-R avatar Oct 25 '21 19:10 Mikael-R

Same problem - I'm using v4.0.0

Galaxy-Coding avatar Nov 04 '21 00:11 Galaxy-Coding

Same problem!

pjotrs-osnovskis avatar Nov 06 '21 18:11 pjotrs-osnovskis

same problem v4.0.0

billowdev avatar Dec 09 '21 12:12 billowdev

@tarunmangukiya: any news on this please ?

7aklhz avatar Dec 13 '21 10:12 7aklhz

Same problem here.

Rope-a-dope avatar Dec 29 '21 00:12 Rope-a-dope

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.

tacman avatar Jan 05 '22 15:01 tacman

Still an issue! Please fix

QkeleQ10 avatar Apr 12 '22 16:04 QkeleQ10

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">

bialka104b avatar Apr 24 '22 17:04 bialka104b

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.

daGUY avatar Jul 08 '22 17:07 daGUY

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

jakubdura avatar Aug 14 '22 22:08 jakubdura

any solution?

SABBIR657 avatar Sep 29 '22 20:09 SABBIR657

has anyone fixed this yet without downgrading the version

Steven-zion avatar Oct 02 '22 21:10 Steven-zion

@tarunmangukiya Any news regarding this issue?

YvanL avatar Jan 19 '23 09:01 YvanL

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

farzadso avatar Jan 25 '23 14:01 farzadso

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

imzedi avatar Mar 29 '23 11:03 imzedi