ie 8自定义google字体的问题 [英] ie 8 problem with custom google font

查看:102
本文介绍了ie 8自定义google字体的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用自定义的google字体开发,从
下载字体 http://themes.googleusercontent.com/font?kit=tMrhQDUBAHnnGuM33-yobPesZW2xOQ-xsNqO47m55DA



有关此事的更多信息 http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax


I'm working on a site, using custom google fonts, but in ie8 not working or just partially(left content good, and a right content, ajax, not so good) any suggestion or idea why not so good?

Thanks.

解决方案

I just saw your website in compatibility mode in IE8 of my IE9, and I do not see any font problems. I run window 7, cna you please post a picture of your problems?

UPDATE: I forgot an important thing... to check about compability. IE7 and IE8 have only "partial" compability with font-face.

To solve the issue you have to use a code similar to this, and convert fonts

@font-face {
font-family: 'MyFontFamily';
src: url('myfont-webfont.eot?') format('eot'), 
     url('myfont-webfont.woff') format('woff'), 
     url('myfont-webfont.ttf')  format('truetype'),
     url('myfont-webfont.svg#svgFontName') format('svg');
}

Google is using only woff, while you have to load eot, trutype and svg as well for full crossbrowser compability.

You can convert fonts easily at Font Squirrel, download the font from http://themes.googleusercontent.com/font?kit=tMrhQDUBAHnnGuM33-yobPesZW2xOQ-xsNqO47m55DA

For more information on the matter: http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax

这篇关于ie 8自定义google字体的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆