@Font-Face won't load via https in IE

前端 未结 6 1948
不知归路
不知归路 2020-12-03 18:03

EDIT 23-06-2012 10:24 (CET): Found the answer

Take a look at the bottom answer. That is what fixed the issue for me. IE9 is rendering the right way now.

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-03 18:29

    I had exactly the same behaviour with IE and https. IE tried to load 3 of the 4 fonts but as soon as the server delivered the resource, IE broke up and moved to the next font. Finally no font was loaded and the site looked crappy. In my case the http header "pragma=no-cache" was the thing that confused IE. After removing it from the response, everything worked smoothly. See also my blog entry which explains the trick with Wildfly and Undertow: Blog

    UPDATE:

    In the meantime I opened a bug at microsoft connect: https://connect.microsoft.com/IE/feedbackdetail/view/992569/font-face-not-working-with-internet-explorer-and-http-header-pragma-no-cache

    If you want them to fix the problem, please vote for the bug.

提交回复
热议问题