【发布时间】:2014-03-11 21:43:23
【问题描述】:
像其他人一样,我在 InternetExplorer 中使用自定义字体时遇到问题。现在,我已经看到了许多关于该主题的主题,所有这些最终都在一个解决方案中,我不仅需要嵌入 trueType 字体(这对于所有其他主要浏览器来说已经足够了),而且建议使用类似的东西:
@font-face {
font-family: "LCD";
src: url('/Public/Fonts/quartz_regular-webfont.eot');
src: url('/Public/Fonts/quartz_regular-webfont.eot?#iefix') format('embedded- opentype'),
url('/Public/Fonts/quartz_regular-webfont.woff') format('woff'),
url('/Public/Fonts/quartz_regular-webfont.ttf') format('truetype'),
url('/Public/Fonts/quartz_regular-webfont.svg#quartzregular') format('svg');
font-weight: normal;
font-style: normal;
}
有人可以向我解释为什么 InternetExplorer 需要我的字体为 trueType、webFont、svg 和 embeddedOpentype 才能工作吗?好麻烦……
【问题讨论】:
标签: html css internet-explorer browser fonts