在PhoneGap的机器人的WebView一些Bootstrap3 glyphicons的显示不正确不正确、机器人、PhoneGap、WebView

2023-09-05 00:08:44 作者:脚踏日月

请看看这个附加截图。 这是我的PhoneGap测试的应用程序 - 在银河S4采取

Please have a look at this attached screenshot. It is my PhoneGap testing app - taken on a Galaxy S4.

您应该看到钟,书签,公文包,和摄像头图标(及以上)并不如预期显示。

You should see that the bell, bookmark, briefcase, and camera icons (and more) are not displayed as expected.

下面是我的看法:

所有图标可以在浏览器(Chrome浏览器,Safari浏览器)正确地显示,在PC和移动设备上的 所有图标可以在正确的iOS相同的应用程序(在iPhone / iPad的,ios7检查)显示 All icons can be displayed correctly in browsers (chrome, safari), on both PC and mobile devices All icons can be displayed correctly in the same app for ios (checked in iphone/ipad, ios7)

的问号只能出现在一个Android应用程序。

The "question mark" can only be seen in an Android app.

有谁知道什么原因呢?

推荐答案

这是一个与转义序列的问题。如果您能够可靠地保持UTF-8 EN codeD CSS文件,可以覆盖引导默认使用的实际,非转义字形。

It's a problem with the escape sequences. If you can reliably maintain a UTF-8 encoded CSS file, you could override the Bootstrap defaults to use the actual, non-escaped glyphs.

(根据您的浏览器,下面的code会出现包含一堆箱子,复制code和将其粘贴到UTF-8的文件应该preserve值,虽然)。

(Depending on your browser, the following code will appear to contain a bunch of boxes. Copying the code and pasting it into a UTF-8 document should preserve the values, though.)

 
精彩推荐
图片推荐