D
D
Denis Bukreev2017-02-27 17:08:04
css
Denis Bukreev, 2017-02-27 17:08:04

IE11 doesn't see fonts no matter what I do - how do I make it recognize them?

So it goes.

@font-face {
    font-family: 'Museo Sans';
    src: url('../fonts/MuseoSansCyrl_500.eot');
    src: local('☺'),
         url('../fonts/MuseoSansCyrl_500.eot?#iefix') format('embedded-opentype'),
         url('../fonts/MuseoSansCyrl_500.otf');
    font-weight: normal;
    font-style: normal;
  }

Here's a crutch I use, but IE11 still refuses to read this font. At least kill yourself.
What else can be done?
I've never struggled so much with fonts for IE before.
In the console it gives some kind of game:
@font-face encountered unknow error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2017-02-27
@denisbookreev

IE11 perfectly understands the woff format, which is twice as light as eot. Why are you feeding him eot.
In general, it is high time to adopt this service https://www.fontsquirrel.com/tools/webfont-generator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question