我在@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