【发布时间】:2011-12-28 11:56:29
【问题描述】:
我正在使用嵌入字体,代码如下:
@font-face {font-family: 'PFDinTextPro-Regular';src: url('../webfonts/15B214_0.eot');src: url('../webfonts/15B214_0.eot?#iefix') format('embedded-opentype'),url('../webfonts/15B214_0.woff') format('woff'),url('../webfonts/15B214_0.ttf') format('truetype'),url('../webfonts/15B214_0.svg#wf') format('svg');}
@font-face {font-family: 'PFDinTextPro-Bold';src: url('../webfonts/15B214_1.eot');src: url('../webfonts/15B214_1.eot?#iefix') format('embedded-opentype'),url('../webfonts/15B214_1.woff') format('woff'),url('../webfonts/15B214_1.ttf') format('truetype'),url('../webfonts/15B214_1.svg#wf') format('svg');}
@font-face {font-family: 'PFDinTextPro-Italic';src: url('../webfonts/15B217_0.eot');src: url('../webfonts/15B217_0.eot?#iefix') format('embedded-opentype'),url('../webfonts/15B217_0.woff') format('woff'),url('../webfonts/15B217_0.ttf') format('truetype'),url('../webfonts/15B217_0.svg#wf') format('svg');}
body { font-family: PFDinTextPro-Regular;
background-image: url(../img/MH_blue.png);
}
但是奇怪的事情正在发生。缺少所有连字组合字母。例如,“stuff”这个词显示为“stu”。
可能是什么问题?
【问题讨论】:
-
您使用什么服务来制作网络字体? fontsquirrel.com ?
-
您能给我们演示一下正在发生的事情吗?我现在正在设计的网站(嵌入式字体)中有与此类似的设置,并且没有遇到任何问题(除了影响字体外观质量的字体大小)。
-
这是从 myfonts.com 下载的字体。问题出现在firefox 7中
标签: css font-face truetype eot