我一直在使用Pictos和FontSquirrel在我们的网络应用程序上绘制花哨的图标和排版.今天我看到Droid手机和Android 2.3.4(在VirtualBox上运行)根本不显示字体.为了记录,谷歌自己的网络字体DO正确显示.
有一个已知的工作吗?
@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;
}
Run Code Online (Sandbox Code Playgroud)
请注意,您使用的防弹和防弹笑脸方法不适用于Android手机.
尝试使用Fontspring语法.
例:
@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;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1946 次 |
| 最近记录: |