Question

Currently putting together a site using Google Fonts. Everything works in IE6 through 10, Firefox, Chrome, and on mobile browsers. However on IE 11 no fonts load and everything is displayed using fallback fonts (sans-serif etc).

This same issue seems to have been discussed on the following two pages but with no resolution:
Google Code
MSDN Forums

I have not been able to find a solution either and am wondering if anyone here has a workaround in place.

Was it helpful?

Solution

Using the Web Font Loader javascript instead of the default method of adding fonts works in IE11 for me. https://developers.google.com/fonts/docs/webfont_loader.

It also had the advantage of having default font text showing on slow connections until font downloads, at which point it will switch to google font. Otherwise you get no text at all for tens of seconds.

Important note: You should choose your fall-back fonts to those with similar size / kerning / leading etc to minimise screen re-draw and content jumping issues that affect UX.

OTHER TIPS

I had the similar problem. Fonts from css didn't load in IE11 only when i pressed refresh or forward/back buttons. I've managed to solve this problem adding an empty 'style' tag to head on document load. (ex.: $('head').append('<style></style>')) Hope this will help to somebody with the same problem.

Even i had the same problem in IE11, but using the 'woff' format solved it for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top