Firefox和Safari不使用阿拉伯语连字
的字体呈现文字以下是一个示例字形svg字体:
<glyph unicode="بِسْمِ" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
尝试用英文文本替换阿拉伯语连字并且它有效!
<glyph unicode="1234" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
这两种浏览器有什么问题?我怎么能解决这个问题,我是否在使用连字法做错了什么?
DEMO:http://ligga.herokuapp.com/ 请在chrome和firefox中测试demo以查看差异。
[class^="icon-"], [class*=" icon-"] {
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
font-feature-settings: "liga";
-webkit-font-variant-ligatures: discretionary-ligatures;
font-variant-ligatures: discretionary-ligatures;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}