A
A
Alexander Ivanov2014-08-14 15:14:37
css
Alexander Ivanov, 2014-08-14 15:14:37

Why won't Mozilla and Webkit load the font?

Connected fonts. I wanted it to work on IE, now it only works on it, but not on normal browsers.

@font-face {
  font-family: a_AvanteInt; /* Гарнитура шрифта */  
  font-style: normal;
  font-weight: normal;
  src: local('a_AvanteInt'), 
url("/assets/templates/letterprint/fount/a_avanteint_bold.eot?#iefix") format("embedded-opentype"), 
url("/assets/templates/letterprint/fount/a_avanteint_bold.woff") format("woff"), 
url("/assets/templates/letterprint/fount/a_avanteint_bold.ttf") format("truetype"), 
url("/assets/templates/letterprint/fount/a_avanteint_bold.svg#a_AvanteInt") format("svg");
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ivanov, 2014-08-15
@cimonlebedev

I figured it out myself, rewrote the code and re-converted the fonts. This code worked:

@font-face{
    font-family: a_AvanteInt;
    src: local('a_AvanteInt'), url(/assets/templates/letterprint/fount/a_avanteint_bold.eot?#iefix) format("embedded-opentype"), url('/assets/templates/letterprint/fount/a_avanteint_bold.ttf') format('truetype');
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question