Android 2.3.4没有加载FontSquirrel字体?

Android 2.3.4没有加载FontSquirrel字体?,第1张

概述我一直在使用Pictos和FontSquirrel在我们的网络应用程序上绘制花哨的图标和排版.今天我看到Droid手机和 Android 2.3.4(在VirtualBox上运行)根本不显示字体.为了记录,谷歌自己的网络字体DO正确显示. 有一个已知的工作吗? @font-face { font-family: 'Pictos'; src: url('pictos-web.eot' 我一直在使用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;}
解决方法 请注意,您使用的 bulletproof和 bulletproof smiley方法不适用于AndroID手机.

试试Fontspring语法.

例:

@Font-face {    Font-family: 'Pictos';    src: url('pictos-web.eot');    src: url('pictos-web.eot?#IEfix') format('embedded-opentype'),url('pictos-web.ttf') format('truetype'),url('pictos-web.svg#UbuntuBold') format('svg');    Font-weight: normal;    Font-style: normal;}
总结

以上是内存溢出为你收集整理的Android 2.3.4没有加载FontSquirrel字体?全部内容,希望文章能够帮你解决Android 2.3.4没有加载FontSquirrel字体?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1121914.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存