13

我使用 Bootstrap 3.0.3 字形图标。在桌面浏览器和 Android 设备上一切正常。我的问题是关于 Apple 设备(在运行 iOS7 的 iPhone 和 iPad 上测试)。

字形图标看起来像表情符号。我发现了一些问题,但没有回答我的问题。

这是查看屏幕截图的链接:http ://www.fredericblancheton.fr/imgdisallow/image.png

谢谢您的帮助。

4

5 回答 5

2

I had a similar problem, but only when another font was included via font-face inside the stylesheet. It seems that mobile safari or safari in general has a very short timeout for loading fonts which are included via font-face syntax.

I had to remove the font from the main stylesheet and add the font-face syntax directly in the sites header using <style></style> syntax. Weird.

Another approach is illustrated over at filamentgroup, which are using the Data-URI syntax for the font and loading these asynchronously via javascript. This should also trick the browser to wait longer. -> http://www.filamentgroup.com/lab/font-loading.html

于 2015-04-24T08:10:09.743 回答
1

我们在我们的应用程序中看到了同样的问题——这完全是奇怪的。当用户安装了旧的 Emoji 应用程序(“Emoji Free!”,我不再在应用程序商店中找到)时,就会发生这种情况。

唯一的解决方案是让用户卸载该应用程序。

于 2014-02-21T20:24:06.007 回答
1

我遇到了同样的问题并通过从@font-face 中删除 woff2 字体文件来解决它。看来iOS不支持woff2。

[2016-03-02 更新] 上面的修复结果只是运气问题(时间?)。@rofflox 的答案似乎更有希望,并且对我有用。

于 2016-02-26T06:57:17.613 回答
0

我今天开始在使用 Pulsar for Salesforce 时遇到此错误,我发现我的 FE DEV 包含对字体的引用并且忘记使用新字体更新静态资源!万一这对某人有帮助。

于 2017-12-20T00:27:14.297 回答
0

我只是尝试了上面的解决方案,但没有一个对我有用。事实证明:

  1. 我已将引导程序更新到 3.3.6 css
  2. 我没有更新它附带的字体文件

获取最新版本的字体文件解决了我使用不需要的表情符号的问题。

于 2016-05-19T23:34:19.023 回答