Nav*_*eed 10 firefox fonts arabic webfonts ligature
Firefox和Safari不使用带有阿拉伯语连字的字体呈现文本
这是一个示例字形svg字体:
<glyph unicode="??????" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
Run Code Online (Sandbox Code Playgroud)
尝试用英文文本替换阿拉伯语连字,它的工作原理!
<glyph unicode="1234" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
Run Code Online (Sandbox Code Playgroud)
这两个浏览器出了什么问题?我该如何解决这个问题,我是否在使用连字法做错了什么?
演示:http://ligga.herokuapp.com/ 请在chrome和firefox中测试演示以查看差异.
[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;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
481 次 |
| 最近记录: |