我在我的网站(Teuton23ProRegular)上使用字体,字体不是在Android ICS (尝试过的原生浏览器和火狐浏览器)上出现的,而且在所有其他的桌面和手机上都很好看,我尝试过(Android Gingerbread, iPhones, Win Mobile)。移动防火墙显示了以下错误:
Error: downloadable font: not usable by platform (font-family: "Teuton23ProRegular" style:normal weight:normal stretch:normal src index:2)
Source File: http://[sitename]/../css/fonts/teuton23pro-webfont.woff
Line: 0源代码:
@font-face {
font-family: 'Teuton23ProRegular';
src: url('../../css/fonts/teuton23pro-webfont.eot');
src: url('../../css/fonts/teuton23pro-webfont.eot?iefix') format('eot'),
url('../../css/fonts/teuton23pro-webfont.woff') format('woff'),
url('../../css/fonts/teuton23pro-webfont.ttf') format('truetype'),
url('../../css/fonts/teuton23pro-webfont.svg#Teuton23ProRegular') format('svg');
font-weight: normal;
font-style: normal;}
另一件有趣的事情是,我从http://fonts.com/获得的字体工作良好("Trade Gothic W02 Bold 2")。
任何想法都将不胜感激。
发布于 2012-02-07 01:31:27
如果贸易哥特式W02 Bold 2工作,但不是Teuton23ProRegular,那么通过逻辑推导,问题可能在于字体文件的内容或字体面声明。
我不熟悉Android IceCream桑威奇浏览器的字体呈现及其使用的格式(看上去它使用的是.woff发出的错误通知),但似乎Teuton23ProRegular字体面板文件无法工作,因为:
F 29。
请通过比较您如何声明的Teuton23与贸易哥特式的等价物来检查上述所有内容。
https://stackoverflow.com/questions/9075079
复制相似问题