@ font-face现在可以使用吗?
我必须在项目中使用花哨的字体,但我真的想避免sifr和其他丑陋的选择,所以我看着@ font-face。
I have to use a fancy font in a project but I'd really like to avoid sifr and other ugly alternatives so I'm looking at @font-face.
但是,我真的很困惑与几个博客/网站提供不同的意见上的可用性。是准备好了吗?
However, I'm really confused with several blog/sites offering different views on its usability. Is is ready yet? Which browsers support it today?
感谢
浏览器实现它。唯一真正的吸引力是,Internet Explorer需要自己的OTF格式的字体文件,并且不会理解TTF格式。许多提供用于@ font-face的字体的网站将为您提供在Internet Explorer和其他浏览器中显示所需的格式和CSS。
Just about every browser implements it now. The only real catch is that Internet Explorer requires font files in its own OTF format and will not understand TTF format. Many sites that provide fonts for use with @font-face will provide you with both formats and the CSS necessary for them to display in both Internet Explorer and other browsers.
请查看 http://www.fontsquirrel.com/ 以获得免费的字体库的良好示例它们带有预制的@ font-face下载(包括文件格式和相关的CSS。)
Take a look at http://www.fontsquirrel.com/ for a good example of a free library of fonts that come with pre-made @font-face downloads (both file formats and the relevant CSS.)