T
T
tigra2015-11-19 12:01:31
css
tigra, 2015-11-19 12:01:31

How to fix Failed to decode downloaded font error?

In the browser, the font is connected, but in the console it gives the following error.
I connect fonts like this

@font-face {
  font-family: 'Fiesta';
  src: url('/fonts/Fiesta.eot?#iefix') format('embedded-opentype'), 
  url('/fonts/Fiesta.woff') format('woff'),
  url('/fonts/Fiesta.ttf')  format('truetype'), 
  url('/fonts/Fiesta.svg#Fiesta') format('svg');
  font-weight: normal;
  font-style: normal;
}

It is worth saying that the font was generated on the service from ttf

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tigra, 2015-11-19
@tigroid3

www.font2web.com
I ran ttf through this service and everything worked out

X
xmoonlight, 2015-11-19
@xmoonlight

Validate all fonts in font programs.
fontforge.github.io/en-US
www.high-logic.com/font-editor/fontcreator.html
https://glyphsapp.com
https://birdfont.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question