我在@font脸上使用了以下CSS。它可以在我的桌面和我测试过的IOS设备上运行。但它没有在Android上:@font脸不能在Android上工作
@font-face {
font-family: 'ReformaGroteskMedium';
src: url('/css/fonts/reforma_grotesk/26890C_0_0.eot');
src: url('/css/fonts/reforma_grotesk/26890C_0_0.eot?#iefix') format('embedded-opentype'),
url('/css/fonts/reforma_grotesk/26890C_0_0.woff') format('woff'),
url('/css/fonts/reforma_grotesk/26890C_0_0.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
我注意到,从http://www.fontsquirrel.com/(其中工作)中完全相同的方式是内嵌除非他们也有下面这行产生的字体:
url('SourceSansPro-ExtraLightIt-webfont.svg#SourceSansProExtraLightItalic') format('svg');
这是为什么呢我的版本不工作,Android仅支持SVG吗?
我使用的Android版本是4.0.1在华硕平板电脑上。它在较新的Android手机上工作得很好。
好,谢谢,我会加入SVG测试在星期一我有机会再次访问该Android平板电脑。 – TK123 2013-04-26 02:24:11