Android 2.3.4不加载FontSquirrel字体?
我一直在使用Pictos和FontSquirrel在我们的web应用程序上制作奇特的舞蹈图标和排版。今天我看到Droid手机和Android 2.3.4(在VirtualBox上运行)根本不显示字体。作为记录,谷歌自己的网页字体确实能正确显示 有已知的工作吗Android 2.3.4不加载FontSquirrel字体?,android,webfonts,Android,Webfonts,我一直在使用Pictos和FontSquirrel在我们的web应用程序上制作奇特的舞蹈图标和排版。今天我看到Droid手机和Android 2.3.4(在VirtualBox上运行)根本不显示字体。作为记录,谷歌自己的网页字体确实能正确显示 有已知的工作吗 @font-face { font-family: 'Pictos'; src: url('pictos-web.eot'); src: local('☺'), url('pictos-web.woff') form
@font-face {
font-family: 'Pictos';
src: url('pictos-web.eot');
src: local('☺'), url('pictos-web.woff') format('woff'), url('pictos-web$
font-weight: normal;
font-style: normal;
}
请注意,您正在使用的操作和方法在Android手机上不起作用
试试语法
示例:
@font-face {
font-family: 'Pictos';
src: url('pictos-web.eot');
src: url('pictos-web.eot?#iefix') format('embedded-opentype'),
url('pictos-web.woff') format('woff'),
url('pictos-web.ttf') format('truetype'),
url('pictos-web.svg#UbuntuBold') format('svg');
font-weight: normal;
font-style: normal;
}
如果消除笑脸语法不起作用。。。android上的一些浏览器拒绝使用“仅限web”字体。您可以在不受保护的情况下通过fontsquirrel生成器运行它们,并使用未受保护的woff文件