Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

Arabic font not loading in mac osx firefox

  • 1 Antwort
  • 1 hat dieses Problem
  • 1 Aufruf
  • Letzte Antwort von Shadow110

more options

Firefox in MacOS is not rendering fonts which has Arabic content.

Here is one sample glyph form svg font: <glyph d="M960....." horiz-adv-x="1025" unicode="ت"/>

Tried replacing arabic with english text and it works! <glyph d="M960....." horiz-adv-x="1025" unicode="A"/>

I am using fontforge to convert svg to woff and otf fonts. How can I fix the problem, am I doing something wrong font generation?

Output on Firefox(Ubuntu) : https://i.stack.imgur.com/4CZ9X.png

Output on Firefox(MacOS): https://i.stack.imgur.com/TBLRm.png

Browsers which are rendering text correctly:

     Google Chrome on Windows, Ubuntu and MacOS
     Firefox on Windows and Ubuntu
     Safari in MacOS

Browser which is not rendering text correctly:

     Firefox on MacOS

Sample Page : http://hurix-installer.s3.amazonaws.com/arabic_font_package/page0001.xhtml

Firefox in MacOS is not rendering fonts which has Arabic content. Here is one sample glyph form svg font: <glyph d="M960....." horiz-adv-x="1025" unicode="&#x062a;"/> Tried replacing arabic with english text and it works! <glyph d="M960....." horiz-adv-x="1025" unicode="A"/> I am using fontforge to convert svg to woff and otf fonts. How can I fix the problem, am I doing something wrong font generation? Output on Firefox(Ubuntu) : https://i.stack.imgur.com/4CZ9X.png Output on Firefox(MacOS): https://i.stack.imgur.com/TBLRm.png Browsers which are rendering text correctly: Google Chrome on Windows, Ubuntu and MacOS Firefox on Windows and Ubuntu Safari in MacOS Browser which is not rendering text correctly: Firefox on MacOS Sample Page : http://hurix-installer.s3.amazonaws.com/arabic_font_package/page0001.xhtml
Angefügte Screenshots

Geändert am von kanchan

Alle Antworten (1)

more options

What is the address of the page you are working on please.

Have you checked your pages : W3C.org (World Wide Web Consortium) in charge of standards and practices and future development of web pages and web browsers make the rules on code. Mozilla Firefox follows these rules. W3C.org Who make the rules for web code. HTML https://validator.w3.org/ CSS https://jigsaw.w3.org/css-validator/ and https://validator.w3.org/i18n-checker/ and http://mobile.css-validator.org/