Firefox and Safari are not rendering text using fonts with Arabic ligatures
Here is one sample glyph form svg font:
<glyph unicode="بِسْمِ" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
Tried replacing arabic ligatures with english text and it works!
<glyph unicode="1234" glyph-name="uniFB51" horiz-adv-x="1423" d="path.." />
What's wrong with these two browsers ? how can I fix the problem, am I doing something wrong with ligature?
DEMO: http://ligga.herokuapp.com/ Please test demo in chrome and firefox to see the difference.
CSS I'm using to enable ligga feature:
[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;
}
Screenshots
Firefox
Chrome
Browsers which are not rendering text using fonts are:
- Firefox on Mac
- Safari
Browsers which are rendering text correctly:
- Chrome on all OS( tested on mac, android, ubuntu, windows )
- Opera ( tested on android )
- Firefox on windows ( that's odd, doesn't firefox use same engine( Gecko ) on all platform? )