使用glyphicon-triangle-left和Intel XDK,它显示为中文字符

时间:2016-06-01 07:41:31

标签: twitter-bootstrap intel-xdk

我正在使用英特尔XDK构建多操作系统应用程序。我使用Sony Xperia Z1 Compact进行调试。它似乎支持boostrap glyphicons,这个有效;

<span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>

但是当我使用这个时;

<span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span>

它显示(有点)像这样:缋(它看起来很像这样,但我的诡异技能不能完成任务)

任何人都知道这里发生了什么?

*编辑,发现还有什么不再有效,我认为它在设备中有自动翻译或类似的东西......

清单:  

  • glyphicon glyphicon-cd
  • glyphicon glyphicon-save-file
  • glyphicon glyphicon-open-file
  • glyphicon glyphicon-level-up
  • glyphicon glyphicon-copy
  • glyphicon glyphicon-paste
  • glyphicon glyphicon-alert
  • glyphicon glyphicon-equalizer
  • glyphicon glyphicon-king
  • glyphicon glyphicon-queen
  • glyphicon glyphicon-pawn
  • glyphicon glyphicon-bishop
  • glyphicon glyphicon-knight < / li>
  • glyphicon glyphicon-baby-formula
  • glyphicon glyphicon-tent
  • glyphicon glyphicon-blackboard
  • glyphicon glyphicon-bed
  • < li> glyphicon glyphicon-apple
  • glyphicon glyphicon-erase
  • glyphicon glyphicon-hourglass
  • glyphicon glyphicon-lamp
  • glyphicon glyphicon-duplicate
  • glyphicon glyphicon-piggy-bank
  • glyphicon glyphicon-scissors
  • glyphicon glyphicon-bitcoin
  • gly phicon glyphicon-btc
  • glyphicon glyphicon-xbt
  • glyphicon glyphicon-yen
  • glyphicon glyphicon-jpy
  • glyphicon glyphicon-ruble
  • glyphicon glyphicon-rub
  • glyphicon glyphicon-scale
  • glyphicon glyphicon-ice-lolly
  • glyphicon glyphicon-ice-lolly-tasted
  • glyphicon glyphicon-education
  • glyphicon glyphicon-option-horizo​​ntal
  • glyphicon glyphicon-option-vertical
  • glyphicon glyphicon-menu-hamburger
  • glyphicon glyphicon-modal-window
  • glyphicon glyphicon-oil
  • glyphicon glyphicon-grain
  • glyphicon glyphicon-sunglasses
  • glyphicon glyphicon-text-size
  • glyphicon glyphicon-text-color
  • glyphicon glyphicon-text-background
  • glyphicon glyphicon-object-align-top
  • glyphicon glyphicon-object-align-bottom
  • glyphicon glyphicon-object-align-horizo​​ntal
  • glyphicon glyphic on-object-align-left
  • glyphicon glyphicon-object-align-vertical
  • glyphicon glyphicon-object-align-right
  • glyphicon glyphicon-triangle-right
  • glyphicon glyphicon-triangle-left
  • glyphicon glyphicon-triangle-bottom
  • glyphicon glyphicon-triangle-top
  • glyphicon glyphicon-console
  • glyphicon glyphicon-superscript
  • glyphicon glyphicon-subscript
  • glyphicon glyphicon-menu-leftglyphicon glyphicon-menu-left
  • glyphicon glyphicon- menu-right
  • glyphicon glyphicon-menu-down
  • glyphicon glyphicon-menu-up
  • 1 个答案:

    答案 0 :(得分:0)

    半年以及之后的一个upvote,我有这个工作,只是不记得我做了什么来做到这一点。但是看看我的代码,这些是让它成功的重要因素:

    的index.html:

    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="bower_components/bootstrap/dist/css/bootstrap.css">
    </head>
    

    并确保在这样的文件夹中包含字体:

    www - index.html
        - fonts
            - glyphicons-halflings-regular.eot
            - glyphicons-halflings-regular.svg
            - glyphicons-halflings-regular.ttf
            - glyphicons-halflings-regular.woff
            - glyphicons-halflings-regular.woff2