IE的问题与True Type字体 [英] IE Problem with True Type Font

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

问题描述

我在我的网站上安装了一个新的字体,但我不能得到IE8和IE9的识别,我没有knoledge如何浏览器渲染的字体,但我的CSS样式表字体声明如下,

I intalled a new font on my website but I cannot get IE8 and IE9 to recognize, I have no knoledge on how the browsers render the fonts, but my css style sheet font declaration is as follows,

@font-face {     


font-family: VAGRounded;     src: url("../fonts/VAGRoundedW01-Light.eot") /* EOT file for IE */

 src:url("../fonts/VAGRoundedW01-Light.eot?#iefix") format('embedded-opentype');


 }

@font-face {  font-family: VAGRounded;  src: url("../fonts/VAGRoundedW01-Light.TTF") format('truetype'),

url("../fonts/VAGRoundedW01-Light.svg#webfontmvIrHXJB") format('svg');

非常感谢!

推荐答案

IE8和IE9不支持嵌入字体通过CSS3方案,而没有首先转换为支持的格式(SVG,TT,EOT等)。 编辑:IE8和IE9需要调整才能支持嵌入字体。

IE8 and IE9 do not support embedded fonts via the CSS3 scheme without first converting into supported formats (SVG, TT, EOT, etc.). EDIT: IE8 and IE9 requires tweaks to support embedded fonts. See the comments on your question since it's a duplicate.

FYI IE10将是第一个支持HTML5标准的IE浏览器。

FYI IE10 will be the first IE browser to support the HTML5 standard.

有很多其他的嵌入字体的方法。我推荐的是Cufon,因为它在旧版浏览器中使用VML,不需要闪存。

There are nifty other methods of embedding fonts. The one I recommend is Cufon because it uses VML in older browsers and doesn't require flash.

http://cufon.shoqolate.com/generate/

这篇关于IE的问题与True Type字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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