D
D
DrunkMaster2017-07-25 11:28:03
css
DrunkMaster, 2017-07-25 11:28:03

Connecting fonts to the site and formats?

I include fonts like this:

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

Those. there are 4 formats: eot, woff, ttf, svg
Is this enough for cross-browser compatibility because there are about 15 other font formats. Whether it is necessary there for example woff2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Glebov, 2017-07-25
@DrunkMaster

https://developers.google.com/web/fundamentals/per...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question