2014-09-18 4 views
0

У меня есть шрифты GothamBold, GothamBook и GothamThin. Я установил шрифт-граней с этим шрифты в CSS, как показано ниже:Font Face Gotham не работает над моим IE 8,9,10, но отлично работает в IE моего друга?

@font-face { 
    font-family: 'GothamBold'; 
    src: url("../../fonts/GothamBold.eot"); /* IE9 Compatibility Modes */ 
    src: url("../../fonts/GothamBold.eot?#iefix") format("embedded-opentype"), /* Safari, Android, iOS */ 
     url("../../fonts/GothamBold.woff") format("woff"), 
     url("../../fonts/GothamBold.ttf") format("truetype"), 
     url("../../fonts/GothamBold.svg#GothamBold") format("svg"); 
} 

@font-face { 
    font-family: 'GothamBook'; 
    src: url("../../fonts/GothamBook.eot"), /* IE9 Compatibility Modes */ 
     url("../../fonts/GothamBook.eot?#iefix") format("embedded-opentype"), /* Safari, Android, iOS */ 
     url("../../fonts/GothamBook.woff") format("woff"), 
     url("../../fonts/GothamBook.ttf") format("truetype"), 
     url("../../fonts/GothamBook.otf") format('opentype'), 
     url("../../fonts/GothamBook.svg#GothamBook") format("svg"); 
} 

@font-face { 
    font-family: 'GothamThin'; 
    src: url("../../fonts/GothamThin.eot"), /* IE9 Compatibility Modes */ 
     url("../../fonts/GothamThin.eot?#iefix") format("embedded-opentype"), /* Safari, Android, iOS */ 
     url("../../fonts/GothamThin.woff") format("woff"), 
     url('../../fonts/GothamThin.ttf'); /* Safari, Android, iOS */ 
} 

, но он не работает на IE, даже если он работает над Chrome, Firefox и Safari. Есть идеи?

Я пробовал использовать шрифт шрифта Montserrat, который я получил от fontsquirrel, но все равно не могу загрузить его на IE.

Я проверил мои типы MIME в IIS, каждый из расширений имеет следующий вид: .eot - применение/vnd.ms-fontobject .woff - шрифт/х-Уофф .ttf - применение/октет-поток .svg - image/svg + xml

Он все еще не работает на моем IE 8,9,10. НО это работает на IE моего друга ??? как это могло быть ???

ответ

0

получается, что это из-за настроек безопасности в Интернете: | - просто перейдите на страницу «Интернет»> «Безопасность»> «Пользовательский уровень»> «Найти загрузку шрифтов»> выберите «Включить». Обновите свою страницу и tadaaa ~ ..yeah, это работает.

Смежные вопросы